Intel

AIKIDO-2026-10114

@qwen-code/qwen-code is vulnerable to Command Injection

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 3, 2026
February 3, 2026

44

CVE Score

Medium

Command Injection

Are you affected? Scan for Free

TL;DR

Affected versions of this package treated awk and sed commands as read-only even though they support side-effects like system() execution, file writes, and shell pipelines. This could allow crafted awk or sed input to execute arbitrary commands or perform file operations without user confirmation. The patched version adds comprehensive pattern-based detection for dangerous constructs in awk and sed, rejecting commands with side-effects and preventing unintended command execution.

How do I fix this?

Upgrade the @qwen-code/qwen-code library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range. Requires user interaction / untrusted input in CLI context.

Versions

0.0.1 - 0.7.2

Fixed in 0.8.0

Background info

@qwen-code/qwen-code is vulnerable to Command Injection in versions 0.0.1 - 0.7.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