Intel

AIKIDO-2026-633957

aiosonic is vulnerable to Use of Insufficiently Random Values

GHSA-fv7v-79xr-4q74Published Aug 6, 2026
August 6, 2026

37

CVE Score

Low

Use of Insufficiently Random Values

Are you affected? Scan for Free

TL;DR

The MultipartForm helper builds its multipart boundary with the non-cryptographic random module. Field values are written between the boundary delimiters without escaping, so a value that contains a guessed boundary is emitted. Code that mixes externally influenced text fields with trusted fields in a single form lets a caller who can retry the request or predict the PRNG inject a forged multipart part into the body sent upstream. The fix derives the boundary from a cryptographically secure token in both multipart upload paths.

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 passes untrusted input into a MultipartForm field alongside application-controlled fields.

Package

Versions

0.0.1 - 1.0.3

Fixed in 1.0.4

Background info

aiosonic is vulnerable to Use of Insufficiently Random Values 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