aio-libs/aiohttp · Security
AIOHTTP: Absolute-form request targets can spoof Request.scheme
- GHSA ID
- GHSA-f9xw-jh8m-3mwq
- CVE ID
- CVE-2026-111748
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.3 · 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
Description
Summary
An attacker sending an absolute-form request can spoof the scheme used.
Impact
If user code depends on the Request.scheme attribute for anything security related, an attacker may be able to circumvent this logic, tricking the application into thinking a connection is encrypted when it is not, or vice versa.
Workaround
A WAF rule to reject absolute-form requests (legitimate requests should only use this form for proxies).
CWEs
- CWE-807 · Reliance on Untrusted Inputs in a Security Decision
References
- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-f9xw-jh8m-3mwq ↗
- https://nvd.nist.gov/vuln/detail/CVE-2026-111748 ↗
- https://github.com/aio-libs/aiohttp/commit/6d4e7b01f9b951aa084a75d7356e907d4ee80411 ↗
- https://github.com/aio-libs/aiohttp/releases/tag/v3.14.4 ↗
- https://github.com/advisories/GHSA-f9xw-jh8m-3mwq ↗