CVE-2026-50269
JSON

2.7low

AIOHTTP: CRLF injection in multipart headers

Severity
2.7low CVSS:4.0 by GitHub_M
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-m6qw-4cw2-hm4mPYSEC-2026-2106

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.0, attacker-controlled input included into multipart/payload headers can be used to modify a request to inject additional headers or similar. In the unlikely situation that an application is passing user-controlled strings into MultipartWriter.append(headers=...) or Payload.headers, then an attacker may be able to modify the request to inject headers or change the contents of the request. This vulnerability is fixed in 3.14.0.

Affected

Product or packageVersionsReported by
aio-libs aiohttp< 3.14.0CVE List
aiohttp (PyPI)before 3.14.0GitHub Advisory Database, PyPA Advisory Database
aiohttp aiohttpbefore 3.14.0NVD

All scores

GitHub_M2.7low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
GitHublow CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-93CWE-113

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.0, attacker-controlled input included into multipart/payload headers can be used to modify a request to inject additional headers or similar. In the unlikely situation that an application is passing user-controlled strings into MultipartWriter.append(headers=...) or Payload.headers, then an attacker may be able to modify the request to inject headers or change the contents of the request. This vulnerability is fixed in 3.14.0.

GitHub Advisory Database
Summary

Attacker-controlled input included into multipart/payload headers can be used to modify a request to inject additional headers or similar.

Impact

In the unlikely situation that an application is passing user-controlled strings into MultipartWriter.append(headers=...) or Payload.headers, then an attacker may be able to modify the request to inject headers or change the contents of the request.

Workaround

Sanitise such user input.


Patch: https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8

NVD (es)

AIOHTTP es un framework HTTP cliente/servidor asíncrono para asyncio y Python. Antes de 3.14.0, la entrada controlada por el atacante incluida en las cabeceras multipart/payload puede usarse para modificar una solicitud e inyectar cabeceras adicionales o similares. En la improbable situación de que una aplicación esté pasando cadenas controladas por el usuario a MultipartWriter.append(headers=...) o Payload.headers, entonces un atacante podría modificar la solicitud para inyectar cabeceras o cambiar el contenido de la solicitud. Esta vulnerabilidad está corregida en 3.14.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50269 changed 2026-06-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-m6qw-4cw2-hm4m changed 2026-09-10CC-BY-4.0
NVDCVE-2026-50269 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-2106 changed 2026-07-13CC-BY-4.0