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 package | Versions | Reported by |
|---|---|---|
| aio-libs aiohttp | < 3.14.0 | CVE List |
| aiohttp (PyPI) | before 3.14.0 | GitHub Advisory Database, PyPA Advisory Database |
| aiohttp aiohttp | before 3.14.0 | NVD |
All scores
| GitHub_M | 2.7low CVSS:4.0 | CVSS: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 |
| GitHub | low CVSS:4.0 | CVSS: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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
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
| https://github.com/aio-libs/aiohttp/security/advisories/GHSA-m6qw-4cw2-hm4m | advisory, third-party-advisory, web | |
| https://github.com/aio-libs/aiohttp/commit/bf88077ebb14f4c29924b8e8904cba20c55c28b8 | fix, patch, web | |
| https://github.com/aio-libs/aiohttp | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50269 changed 2026-06-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-m6qw-4cw2-hm4m changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-50269 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2106 changed 2026-07-13 | CC-BY-4.0 |