Skip to content

Absolute-form request targets can spoof Request.scheme

Low
Dreamsorcerer published GHSA-f9xw-jh8m-3mwq Oct 7, 2026

Package

pip aiohttp (pip)

Affected versions

<=3.14.3

Patched versions

3.14.4

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).


Patch: 6d4e7b0

Severity

Low

CVE ID

No known CVE

Weaknesses

Reliance on Untrusted Inputs in a Security Decision

The product uses a protection mechanism that relies on the existence or values of an input, but the input can be modified by an untrusted actor in a way that bypasses the protection mechanism. Learn more on MITRE.

Credits