Skip to main content

aiohttp CVE-2026-111748

| EUVDEUVD-2026-104484 MEDIUM
Reliance on Untrusted Inputs in a Security Decision (CWE-807)
2026-10-19 security-advisories@github.com GHSA-f9xw-jh8m-3mwq
6.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach aiohttp web server over network
  2. Delivery
    Send absolute-form request-target with spoofed scheme
  3. Exploit
    Parser sets Request.scheme from attacker data
  4. Execution
    Application trusts spoofed scheme for security decision
  5. Impact
    Downgrade/upgrade transport-security enforcement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Trusted input validation
Exploitation Conditions

Exploitation requires three concrete conditions. First, the target must run an aiohttp web server at a version prior to 3.14.4. Second, the attacker must send an HTTP/1.1 request using absolute-form request-target syntax (e.g. 'GET https://host/path HTTP/1.1' or 'http://...') so that a scheme is embedded in the target. Third - the key limiting factor captured by the CVSS AT:P metric - the application code must use Request.scheme to make a security decision (such as setting the Secure flag on cookies, enforcing or redirecting to HTTPS, or deciding whether a connection is trusted); applications that never read Request.scheme for security purposes are unaffected. No authentication and no user interaction are required (PR:N/UI:N), but the dependency on application-side use of Request.scheme materially narrows real-world exploitability.

Impact

The provided CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N, base 6.3 Medium) paints a consistent picture of a network-reachable, unauthenticated flaw with low confidentiality and integrity impact and - critically - an attack requirement (AT:P) that reflects the real precondition: the target application must actually consume Request.scheme to make a security decision. This AT:P metric is the single most important signal, because it explains why a 'network/unauthenticated' bug is only Medium rather than Critical - the aiohttp parser bug is necessary but not sufficient on its own. There is no exploitation status to confirm: KEV is not listed, no POC is referenced, and no EPSS probability was supplied in the input, so exploitation likelihood cannot be quantified from the data given and should not be assumed high. Signals are internally consistent (no CVSS-vs-description conflict), but the EPSS score is MISSING and cannot be inferred. Net assessment: this is a legitimate but conditional transport-security-downgrade/upgrade issue rather than a broad-impact remote code execution - a real priority only for the subset of aiohttp deployments whose application logic trusts Request.scheme for cookie-secure flags, HTTPS enforcement, or redirect decisions.

Exploit ScenarioDerived

An attacker sends a crafted absolute-form request-target (e.g. 'GET https://victim/path HTTP/1.1') over a plaintext HTTP connection to an aiohttp web server prior to 3.14.4. Because the parser trusts the scheme embedded in the request-target rather than the actual connection protocol, an application that checks Request.scheme to decide whether the connection is secure is tricked into treating the unencrypted request as HTTPS (or vice-versa), bypassing secure-cookie, HSTS, or HTTPS-redirect logic. No public exploit code is identified, and success depends on the application relying on Request.scheme for a security decision.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 19, 2026

aiohttp web servers running versions prior to 3.14.4 derive the value of Request.scheme from the request line when a client sends an absolute-form request-target (for example 'GET https://host/path HTTP/1.1'), so an unauthenticated remote attacker can make an unencrypted HTTP connection appear to the application as HTTPS, or an encrypted connection appear as plaintext. Applications that branch on Request.scheme for security decisions - setting the Secure flag on cookies, forcing HTTPS redirects, or gating trust decisions - can therefore be induced to make the wrong call, yielding low confidentiality and integrity impact (our independent CVSS 3.1 assessment: AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N). Exploitability is materially narrowed by an attack requirement (CVSS 4.0 AT:P): the target application must actually consume Request.scheme for a security decision, and no public exploit code has been identified at time of analysis; the issue is fixed in aiohttp 3.14.4.

RemediationAI

Vendor-released patch: aiohttp 3.14.4. Upgrade the aiohttp dependency to 3.14.4 or later (release: https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4; fix commit: https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411; advisory: https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq) and regenerate lockfiles so transitive consumers on Python asyncio stacks pick up the fixed parser. If an immediate upgrade is not possible, the effective compensating control is to stop treating Request.scheme as a security primitive: derive connection security from the underlying transport (request.transport / protocol.ssl_context) or from a trustworthy statement from a trusted reverse proxy, accepting that this requires code changes and careful review of every call site. Alternatively, terminate TLS and enforce HTTPS policy at the reverse proxy or load balancer - rejecting absolute-form request-targets and normalizing the request line before it reaches aiohttp - with the trade-off that such filtering may break legitimate clients and proxy-style deployments, and the trade-off that the application code remains fragile until upgraded. Do not rely on input validation inside the application to distinguish scheme forgery, since the same request line is what aiohttp parses; patch to 3.14.4 remains the only complete fix.

Affected VersionsENISA

aiohttp < 3.14.4

Affected Packages

pypi aiohttp fix: 3.14.4

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

aiohttp is an asynchronous HTTP client/server framework built on asyncio, with its request line and header parsing implemented in a Cython/C accelerated path (aiohttp/_http_parser.pyx wrapping llhttp) plus a pure-Python fallback (aiohttp/http_parser.py). Per RFC 9112 section 3.2.3 and RFC 9110 section 4.2.1-4.2.2, the request-target may take absolute-form ('http://host/path'), authority-form (CONNECT only), asterisk-form (OPTIONS only), or origin-form ('/path'). Absolute-form targets carry their own scheme, and aiohttp previously propagated that peer-supplied scheme into the parsed URL and then into Request.scheme in aiohttp/web_request.py, rather than deriving the scheme from the actual transport (protocol.ssl_context). This is CWE-807, Reliance on Untrusted Inputs in a Security Decision: the framework conflates a client-asserted string in the request line with the cryptographic property of the connection. The upstream fix removes the assignment of url.scheme to the scheme cache, instead computing scheme as 'https' if protocol.ssl_context is set and 'http' otherwise, leaving authority-form (CONNECT) targets without a scheme unless clone(scheme=...) overrides it. The same commit hardens the parser to reject absolute-form targets with empty hosts or out-of-range ports (yarl ValueError surfaced as InvalidURLError / HTTP 400), to accept authority-form only for CONNECT, and to accept asterisk-form only for OPTIONS, preventing bare ValueErrors from escaping the parser.

Know when Python gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.8 MEDIUM

Remote and unauthenticated (AV:N/PR:N), but AC:H reflects the precondition that the application must rely on Request.scheme for a security decision; impact is a limited confidentiality/integrity downgrade, so C:L/I:L/A:N.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Red Hat 6.5 MEDIUM

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 19, 2026 - 18:03 EUVD
CVE Published
Oct 19, 2026 - 17:17 cve.org
MEDIUM 6.3

DescriptionCVE.org

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.4, an attacker can send an absolute-form request that causes Request.scheme to use attacker-controlled request-target scheme data instead of the connection protocol. Applications that use Request.scheme for security decisions can consequently be tricked into treating an unencrypted connection as encrypted or an encrypted connection as unencrypted. This issue is fixed in version 3.14.4.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 20 pypi packages depend on aiohttp (15 direct, 5 indirect)

Ecosystem-wide dependent count for version 3.14.4.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
High
extremely popular Python async HTTP framework, millions of installs
Threat Intel
1
1 source
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy