PT-2026-102445 · Npm · Shell-Quote

·

CVE-2026-102422

·

Published

2026-09-29

·

Updated

2026-09-30

CVSS v4.0

9.2

Critical

VectorAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions shell-quote versions prior to 1.11.0
Description The quote() function emits a { comment } token starting with #, which comments out the remainder of the shell line, including opening quotes of subsequent string tokens. If a subsequent string contains a line terminator (such as , r, U+2028, or U+2029), the comment is terminated, and the remaining part of the string is executed as shell input. Additionally, the parse() function generates a comment token when a # character appears in the middle of a word. This can lead to issues when callers combine the output of parse() with other untrusted strings.
Recommendations Update shell-quote to version 1.11.0.

Exploit

Fix

OS Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-102422
GHSA-PQG4-J6R4-53MV

Affected Products

Shell-Quote