CVE-2018-1000519Aio-libs Aiohttp Session
Medium 6.5 No auth needed
Follow: this CVE · Aio-libs · Aio-libs Aiohttp Session We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.2% probability of exploitation in 30 days · percentile 68
- Auth required
- No
- Published
- Jun 26, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-384
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
aio-libs aiohttp-session contains a Session Fixation vulnerability in load_session function for RedisStorage (see: https://github.com/aio-libs/aiohttp-session/blob/master/aiohttp_session/redis_storage.py#L42) that can result in Session Hijacking. This attack appear to be exploitable via Any method that allows setting session cookies (?session=<>, or meta tags or script tags with Set-Cookie).
What to do
- Apply the vendor's security update for Aiohttp Session.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | aiohttp-session |
< 2.4.0 |
2.4.0 |
pip install "aiohttp-session>=2.4.0" |
| PyPI | aiohttp-session |
< 2.4.0 |
2.4.0 |
pip install "aiohttp-session>=2.4.0" |
Per OSV / GitHub Advisories (GHSA-fpwp-69xv-c67f, PYSEC-2018-80). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| aio-libs | aiohttp_session | < 2.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Exploit Third Party Advisory