# CVE-2021-3311: October CMS Session ID not invalidated after logout

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.96%, higher than 87% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-02-05T04:47:53.000Z
- Modified: 2026-06-17T04:04:55.230Z
- Also known as: GHSA-7ggw-h8pp-r95r
- Weaknesses: CWE-613
- Assigned by: mitre

## Description

An issue was discovered in October through build 471. It reactivates an old session ID (which had been invalid after a logout) once a new login occurs. NOTE: this violates the intended Auth/Manager.php authentication behavior but, admittedly, is only relevant if an old session ID is known to an attacker.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- october/rain (Packagist): before 1.0.472; from 1.1.0 before 1.1.2
- octobercms october: up to 1.0.471

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://anisiosantos.me/october-cms-token-reactivation> (exploit, third-party-advisory, web)
- <https://octobercms.com/forum/chan/announcements> (vendor-advisory, web)
- <https://github.com/octobercms/library/commit/642f597489e6f644d4bd9a0c267e864cabead024> (patch, third-party-advisory, web)
- <https://github.com/octobercms/october/security/advisories/GHSA-7ggw-h8pp-r95r> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3311> (advisory)
- <https://packagist.org/packages/october/rain> (web)
- <http://cve.circl.lu/cve/CVE-2021-3311> (web)

## Sources

- CVE List: [CVE-2021-3311](https://www.cve.org/CVERecord?id=CVE-2021-3311), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-7ggw-h8pp-r95r](https://github.com/advisories/GHSA-7ggw-h8pp-r95r), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-3311](https://nvd.nist.gov/vuln/detail/CVE-2021-3311), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3311 · Whole record: https://cve.day/CVE-2021-3311.json · Rebuilt by cve.day 2026-11-25T22:57:59.826Z
