Intel

AIKIDO-2026-354735

aiosonic is vulnerable to Cleartext Transmission of Sensitive Information

GHSA-w258-q8xf-c282Published Aug 6, 2026
August 6, 2026

37

CVE Score

Low

Cleartext Transmission of Sensitive Information

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.

How do I fix this?

Upgrade the aiosonic library to the patch version.

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.

Package

Versions

0.0.1 - 1.0.3

Fixed in 1.0.4

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea