Intel

AIKIDO-2026-354735

aiosonic is vulnerable to Cleartext Transmission of Sensitive Information

Cleartext Transmission of Sensitive InformationGHSA-w258-q8xf-c282 Published Yesterday

37

Low Risk

This Affects:

PYTHONaiosonic
0.0.1 - 1.0.3
Fixed in 1.0.4
Are you affected? Scan for Free

TL;DR

When following redirects, the client decides whether to strip the Authorization header by comparing only the URL netloc and never inspects the scheme. A redirect from an https URL to an http URL on the same host keeps an identical netloc, so the credential is not dropped and is re-sent in cleartext over the plaintext leg. A passive observer on that network path can capture the bearer token or basic credentials. The fix strips sensitive credentials when a redirect downgrades from https to a non-https scheme.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you follow redirects with an Authorization header against an origin that can redirect to an http URL on the same host.

Background info

aiosonic is vulnerable to Cleartext Transmission of Sensitive Information in versions 0.0.1 - 1.0.3.

How to fix this

Upgrade the aiosonic library to the patch version.