Request Smuggling Vulnerability in AIOHTTP Package

python-aiohttp Updated 02 Oct 2025

Summary

14/07/2025
N/A
No i
High
7.5

CVE-2025-53643: AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Affects python-aiohttp versions < e8d774f635dc6d1cd3174d0e38891da5de0e2b6a. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

AIOHTTP is an asynchronous HTTP client/server framework designed for Python's asyncio library. It allows developers to build web applications and services that can handle multiple requests concurrently. AIOHTTP is known for its flexibility and performance, making it a popular choice among Python developers. However, prior to version 3.12.14, AIOHTTP had a vulnerability related to the parsing of trailer sections in HTTP requests, which could lead to request smuggling attacks.

Vulnerability Detail

The vulnerability arises from the Python parser in AIOHTTP not properly parsing the trailer sections of HTTP requests. This oversight allows attackers to potentially execute request smuggling attacks, which can bypass firewalls or proxy protections. If a pure Python version of AIOHTTP is installed, or if the AIOHTTP_NO_EXTENSIONS option is enabled, the risk of exploitation increases significantly. The vulnerability is identified as CVE-2025-53643 and affects all versions prior to 3.12.14.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If immediate updating is not feasible, consider disabling the use of pure Python versions of AIOHTTP or ensuring that AIOHTTP_NO_EXTENSIONS is not enabled. Additionally, implementing strict input validation and monitoring network traffic for unusual patterns can help mitigate the risk.

Conclusion

The AIOHTTP package has a critical vulnerability that could allow request smuggling attacks, affecting applications using versions prior to 3.12.14. It is crucial to update to the patched version to mitigate risks. For those unable to update immediately, implementing workarounds and monitoring can help reduce exposure.

See every vulnerability recorded for python-aiohttp →

Share this vulnerability

FAQ

Request smuggling is a technique used by attackers to send malicious requests that can bypass security measures, allowing them to manipulate server behavior or access unauthorized resources.

You can check if your application is affected by using Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit the Vulert playground at Vulert Scanner to analyze your manifest file.

If exploited, this vulnerability can allow attackers to bypass firewalls or proxy protections, potentially leading to unauthorized access or data breaches.

Yes, you can disable the use of pure Python versions of AIOHTTP or ensure that AIOHTTP_NO_EXTENSIONS is not enabled. Additionally, implementing strict input validation can help reduce risk.

If immediate updates are not possible, consider applying workarounds such as disabling vulnerable features and enhancing monitoring of your application for suspicious activities.

Related vulnerabilities

Recent vulnerabilities recorded for python-aiohttp.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback