HIGH7.5
PYSEC-2026-2106
Quick fix
PYSEC-2026-2106 — aiohttp: upgrade to the fixed version with the command below.
pip install --upgrade 'aiohttp>=3.14.0'Details
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.
Are you affected?
Enter the version of the package you're using.