# CVE-2018-1000814: aiohttp-session creates non-expiring sessions

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- 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): 0.97%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2018-12-20T15:00:00.000Z
- Modified: 2026-06-17T01:33:06.157Z
- Also known as: GHSA-mr4x-c4v9-x729, PYSEC-2018-35
- Weaknesses: CWE-613
- Assigned by: mitre

## Description

aio-libs aiohttp-session version 2.6.0 and earlier contains a Other/Unknown vulnerability in EncryptedCookieStorage and NaClCookieStorage that can result in Non-expiring sessions / Infinite lifespan. This attack appear to be exploitable via Recreation of a cookie post-expiry with the same value.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- aiohttp-session (PyPI): before 2.7.0
- aio-libs aiohttp_session: up to 2.6.0

## Every score

- GitHub: CVSS:3.1 6.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/aio-libs/aiohttp-session/issues/325> (exploit, report, third-party-advisory, web)
- <https://github.com/aio-libs/aiohttp-session/pull/331> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1000814> (advisory)
- <https://github.com/aio-libs/aiohttp-session/commit/1b356f01bbab57d041c9a75bacd72fbbf8524728> (web)
- <https://github.com/advisories/GHSA-mr4x-c4v9-x729> (advisory)
- <https://github.com/aio-libs/aiohttp-session> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp-session/PYSEC-2018-35.yaml> (web)

## Sources

- CVE List: [CVE-2018-1000814](https://www.cve.org/CVERecord?id=CVE-2018-1000814), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-mr4x-c4v9-x729](https://github.com/advisories/GHSA-mr4x-c4v9-x729), CC-BY-4.0, modified 2025-03-14
- NVD: [CVE-2018-1000814](https://nvd.nist.gov/vuln/detail/CVE-2018-1000814), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2018-35](https://osv.dev/vulnerability/PYSEC-2018-35), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2018-1000814 · Whole record: https://cve.day/CVE-2018-1000814.json · Rebuilt by cve.day 2026-11-25T22:57:41.322Z
