VAITP Dataset

← Back to the dataset

CVE-2026-111750

AIOHTTP < 3.14.4 allows ambiguous HTTP framing, enabling request smuggling.

  • CVSS 6.3
  • CWE-444
  • Input Validation and Sanitization
  • Remote

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, the pure Python parser accepts ambiguous HTTP request framing. An unauthenticated attacker can consequently smuggle requests when an application uses AIOHTTP_NO_EXTENSIONS or otherwise runs without a standard wheel and an intermediary interprets the framing differently. This issue is fixed in version 3.14.4.

CVSS base score
6.3
Published
2026-10-19
OWASP
A05 Security Misconfiguration
Orthogonal defect classification
Interface
Code defect classification
Incorrect Interface
Category
Input Validation and Sanitization
Subcategory
Insecure Parsing or Deserialization
Accessibility scope
Remote
Impact
Unauthorized Access
Affected component
AIOHTTP
Fixed by upgrading
Yes

Solution

Upgrade aiohttp to version 3.14.4 or later.

Vulnerable code sample

import aiohttp
from aiohttp import web

async def handler(request):
    # VULNERABLE: reads raw request body without framing validation, enabling request smuggling
    raw = await request.read()
    # placeholder processing
    return web.Response(text="OK")
app = web.Application()
app.router.add_post('/process', handler)

Patched code sample

import aiohttp
from aiohttp import web

async def handler(request):
    # FIX: enforce strict HTTP framing by limiting read to declared Content-Length
    try:
        length = int(request.headers.get('Content-Length', '0'))
    except ValueError:
        return web.Response(status=400, text="Invalid Content-Length")
    raw = await request.content.readexactly(length) if length > 0 else b''
    # placeholder processing
    return web.Response(text="OK")
app = web.Application()
app.router.add_post('/process', handler)

Published fix

Public sources link this CVE to the changes below. The code samples above were generated to illustrate the defect; these links lead to the code the project actually changed.

Cite this entry

@misc{vaitp:cve2026111750,
  title        = {{AIOHTTP < 3.14.4 allows ambiguous HTTP framing, enabling request smuggling.}},
  author       = {Bogaerts, Fr\'ed\'eric and Ivaki, Naghmeh and Fonseca, Jos\'e},
  year         = {2026},
  note         = {VAITP Python Vulnerability Dataset, entry CVE-2026-111750},
  howpublished = {\url{https://netpack.pt/vaitp/vulnerability/CVE-2026-111750/}}
}

Download this entry as JSON Download the whole dataset

Introducing the "VAITP dataset": a specialized repository of Python vulnerabilities and patches, meticulously compiled for the use of the security research community. As Python's prominence grows, understanding and addressing potential security vulnerabilities become crucial. Crafted by and for the cybersecurity community, this dataset offers a valuable resource for researchers, analysts, and developers to analyze and mitigate the security risks associated with Python. Through the comprehensive exploration of vulnerabilities and corresponding patches, the VAITP dataset fosters a safer and more resilient Python ecosystem, encouraging collaborative advancements in programming security.

The supreme art of war is to subdue the enemy without fighting.

Sun Tzu – “The Art of War”

:: Shaping the future through research and ingenuity ::

Before you use the VAITP AI models

Please read and accept the following disclaimer:

By choosing "I understand and accept", you acknowledge that you understand and agree to these terms.