# CVE-2023-49081: aiohttp's ClientSession is vulnerable to CRLF injection via version

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/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): 1.04%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-11-27T23:17:42.000Z
- Modified: 2026-09-10T03:49:47.740Z
- Also known as: GHSA-q3qx-c6g2-7pw2, PYSEC-2023-250
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Improper validation made it possible for an attacker to modify the HTTP request (e.g. to insert a new header) or create a new HTTP request if the attacker controls the HTTP version. The vulnerability only occurs if the attacker can control the HTTP version of the request. This issue has been patched in version 3.9.0.

(As written by CVE List.)

## Affected

- aio-libs aiohttp: < 3.9.0
- aiohttp (PyPI): before 3.9.0; before 1e86b777e61cf4eefc7d92fa57fa19dcc676013b
- aiohttp aiohttp: before 3.9.0

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 7.2 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/aio-libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2> (exploit, advisory, vendor-advisory, web)
- <https://gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e> (exploit, third-party-advisory, web)
- <https://github.com/aio-libs/aiohttp/pull/7835/files> (web)
- <https://github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b> (fix, web)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00002.html> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-49081> (advisory)
- <https://github.com/aio-libs/aiohttp> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/aiohttp/PYSEC-2023-250.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TY5SI6NK5243DEEDQUFKQKW5GQNKQUMA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A> (web)

## Sources

- CVE List: [CVE-2023-49081](https://www.cve.org/CVERecord?id=CVE-2023-49081), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-q3qx-c6g2-7pw2](https://github.com/advisories/GHSA-q3qx-c6g2-7pw2), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-49081](https://nvd.nist.gov/vuln/detail/CVE-2023-49081), Public domain, modified 2026-06-23
- PyPA Advisory Database: [PYSEC-2023-250](https://osv.dev/vulnerability/PYSEC-2023-250), CC-BY-4.0, modified 2024-01-29

---

Page: https://cve.day/CVE-2023-49081 · Whole record: https://cve.day/CVE-2023-49081.json · Rebuilt by cve.day 2026-11-25T22:58:30.800Z
