CVE-2023-49081: aio-libs aiohttp · Improper Input Validation
Affects aio-libs aiohttpSource CVE Database V5
Not known to be exploited · CVSS 7.2 High : upgrade to 3.9.0 soon.
Data as of 26 Oct 2026, 11:07 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.9.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade aio-libs aiohttp to 3.9.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIaiohttppkg:pypi/aiohttpOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately upgrade all aiohttp deployments to version 3.9.0 or later, where the vulnerability is patched. For environments where immediate upgrade is not feasible, implement strict input validation and filtering at the network perimeter or application gateway to block or sanitize suspicious HTTP version headers. Employ Web Application Firewalls (WAFs) with custom rules to detect and prevent anomalous HTTP requests that deviate from expected protocol versions. Conduct thorough code reviews and penetration testing focusing on HTTP request handling in asynchronous Python applications. Monitor network traffic for unusual HTTP version values or unexpected header insertions that could indicate exploitation attempts. Additionally, ensure that logging and alerting mechanisms are in place to detect suspicious request modifications. Educate developers and DevOps teams about the risks of improper input validation and encourage secure coding practices for handling HTTP requests. Finally, maintain an up-to-date inventory of Python dependencies to quickly identify and remediate vulnerable versions.
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.
References
- github.com/aio-libs/aiohttp/security/advisories/GHSA-q3qx-c6g2-7pw2 (opens in a new tab)
- github.com/aio-libs/aiohttp/pull/7835/files (opens in a new tab)
- github.com/aio-libs/aiohttp/commit/1e86b777e61cf4eefc7d92fa57fa19dcc676013b (opens in a new tab)
- gist.github.com/jnovikov/184afb593d9c2114d77f508e0ccd508e (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/02/msg00002.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSYWMP64ZFCTC3VO6RY6EC6VSSMV6I3A/ (opens in a new tab)