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

References