THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-pqg4-j6r4-53mv (critical) — shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token

[GHSA] GHSA-pqg4-j6r4-53mv (critical) — shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token

medgithub_advisoriesPublished 2026-10-06

GHSA-pqg4-j6r4-53mv Severity: critical CVE: CVE-2026-102422

shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token

### Impact

`quote()` emits a `{ comment }` token as `#` followed by its text, which comments out the rest of the shell line, including the opening quote of any later string token. A line terminator in that later string ends the comment

Indicators of compromise

Original source: https://github.com/advisories/GHSA-pqg4-j6r4-53mv