CVE-2026-111748

AIOHTTP: Absolute-form request targets can spoof Request.scheme

Published Oct 19, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

AIOHTTP versions before 3.14.4 improperly accept absolute‑form request targets. The visitor pattern causes the framework to set Request.scheme based on the attacker‑controlled scheme portion of the URL, rather than the protocol actually used by the connection. If an application relies on Request.scheme to decide whether a connection is encrypted or to perform other security checks, it can be tricked into treating an unencrypted HTTP connection as HTTPS or vice versa. This flaw is an instance of CWE‑348 and CWE‑807, covering a spoofing vulnerability and authentication bypass.

Affected Systems

The affected component is the aio-libs:aiohttp Python library. All releases lower than v3.14.4 are impacted; the problem is fixed in 3.14.4 and later releases.

Risk and Exploitability

The CVSS v3 score is 6.3, indicating moderate severity. EPSS data are not available, and the vulnerability is not listed in CISA KEV. An attacker who can send HTTP requests to an aiohttp‑based server may exploit the flaw by sending an absolute‑form URL that carries a forged scheme. The attack succeeds only if the application examines Request.scheme for security decisions, so the risk is limited to deployments that perform such checks. No privileged or privileged‑elevating conditions are required, and the vulnerability can be exercised remotely over the public interface.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade aiohttp to 3.14.4 or later
  • If upgrading is not immediately possible, modify application code to ignore Request.scheme when making authentication or encryption decisions, or validate that the scheme matches the actual transport protocol
  • Consider rejecting absolute‑form request targets or rejecting any request that specifies a scheme different from the connection’s protocol

Generated by OpenCVE AI on October 20, 2026 at 06:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-f9xw-jh8m-3mwq AIOHTTP: Absolute-form request targets can spoof Request.scheme
History
Type Values Removed Values Added
First Time appeared Aiohttp
Aiohttp aiohttp
CPEs cpe:2.3:a:aiohttp:aiohttp:*:*:*:*:*:*:*:*
Vendors & Products Aiohttp
Aiohttp aiohttp
Type Values Removed Values Added
Weaknesses CWE-348
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Aio-libs
Aio-libs aiohttp
Vendors & Products Aio-libs
Aio-libs aiohttp
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title AIOHTTP: Absolute-form request targets can spoof Request.scheme
Weaknesses CWE-807
References
Metrics cvssV4_0

{'score': 6.3, 'vector': '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'}

Weaknesses
  • CWE-348

    Use of Less Trusted Source

  • CWE-807

    Reliance on Untrusted Inputs in a Security Decision

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 19, 2026, 6:22 PM
Reserved
Oct 16, 2026, 5:52 PM
Status
Analyzed
Published
Oct 19, 2026, 5:17 PM
Modified
Nov 16, 2026, 3:20 PM
Severity
Moderate
Public date
Oct 19, 2026, 5:02 PM