Skip to main content
VulnerabilityPublished Updated

CVE-2023-49081: aio-libs aiohttp · Improper Input Validation

Affects aio-libs aiohttpSource CVE Database V5

0

Not known to be exploited · CVSS 7.2 High : upgrade to 3.9.0 soon.

Data as of 26 Oct 2026, 11:07 UTC

CVSS 3.1 base score
7.2High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
PyPIaiohttppkg:pypi/aiohttpOther threatsAffected
  • <3.9.0
Fixed in
  • 3.9.0

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

Community reviews

Loading reviews…