Intel

AIKIDO-2026-243044

iostreams is vulnerable to Argument Injection

GHSA-5f9c-h23c-fv6wPublished Oct 14, 2026
October 14, 2026

75

CVE Score

High

Argument Injection

Are you affected? Scan for Free

TL;DR

When reading or writing an sftp:// path, IOStreams runs the sftp executable with the destination username@hostname as its last argument, without a preceding --. A username that starts with - is read by sftp as an option instead of a user id, so a username such as -Dtouch /tmp/pwned loads a local command in place of sftp-server, running that command on the host running IOStreams. The fix precedes the destination with -- and rejects usernames that start with - or contain control characters.

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 accepts an SFTP username from an untrusted source, for example a customer configured SFTP connection.

Package

Versions

1.0.0 - 2.0.0

Fixed in 2.1.0

Background info

iostreams is vulnerable to Argument Injection in versions 1.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