Intel

AIKIDO-2026-81574

aiosonic is vulnerable to HTTP Header Injection

CVE-2026-97710Published Jul 27, 2026
July 27, 2026

54

CVE Score

Medium

HTTP Header Injection

Are you affected? Scan for Free

TL;DR

aiosonic serializes outbound HTTP/1.1 request headers by interpolating caller-supplied header names and values directly into the request bytes with no validation of either token. When an application places attacker-influenced input into a header value, carriage-return/line-feed sequences reach the wire unmodified, allowing injection of arbitrary additional headers and even a complete second pipelined request on the same connection. This enables header injection, request splitting/smuggling, cache poisoning, and SSRF-style requests to upstream-reachable paths. The fix adds an http_parser.validate_header() check that rejects illegal header tokens and CR/LF characters, enforced in add_header() and the WebSocket handshake.

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 your application places attacker-influenced input into an outbound request header name or value.

Package

Versions

0.0.1 - 1.0.2

Fixed in 1.0.3

Background info

aiosonic is vulnerable to HTTP Header Injection in versions 0.0.1 - 1.0.2.

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