OS Command Injection in shell-quote - CVE-2026-102422

 

OS Command Injection in shell-quote - CVE-2026-102422

Published: September 29, 2026


Vulnerability identifier: #VU152734
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-102422
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary commands.

The vulnerability exists due to improper neutralization of special elements used in an OS command in the quote() function when processing an attacker-controlled string containing a line terminator after a { comment } token. A remote attacker can supply a crafted token sequence to execute arbitrary commands.

Exploitation requires the line terminator to follow a { comment } token in the same quote() call.


Affected software

shell-quote

How to mitigate CVE-2026-102422

Install security update from vendor's website.

shell-quote - update to 1.11.0

External References

Related Security Bulletins