Intel

AIKIDO-2026-152307

iostreams is vulnerable to Argument Injection

GHSA-w43f-cr2g-2472Published Oct 14, 2026
October 14, 2026

59

CVE Score

Medium

Argument Injection

Are you affected? Scan for Free

TL;DR

IOStreams::Pgp key management methods pass the email: or key_id: value straight to gpg without a preceding --. A value starting with -, such as --comment=user@example.com, is read by gpg as an option instead of a user id and then matches every key in the keyring. delete_keys with such a value deletes every public key, or with private: true every secret key, export with private: true exports every secret key, and list_keys/key? report a match for any supplied email. The fix puts -- before every email and key id and rejects set_trust key ids that are not purely hexadecimal.

How do I fix this?

Upgrade the iostreams 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 an untrusted value as the email: or key_id: argument to these IOStreams::Pgp methods.

Package

Versions

2.0.0 - 2.0.0

Fixed in 2.1.0

Background info

iostreams is vulnerable to Argument Injection in versions 2.0.0 - 2.0.0.

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