Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

shell-quote · command injection

CVSS 3.1 8.1 HIGHCVSS 4.0 9.2 CRITICALCheck source for fixed versionsKEV status unknown

Historical advisory recorded 23 Oct 2026 15:48:27 UTC. Read the latest advisory.

cve-program · CVE-2026-9277

Published

shell-quote's `quote()` function did not validate object-token inputs against the operator model used by `parse()`. The `.op` field was backslash-escaped character by character using `/(.)/g`, which in JavaScript does not match line terminators (\n, \r, U+2028, U+2029). A line terminator in `.op` therefore passed through unescaped into the output; POSIX shells treat a literal newline as a command separator, so any content after it would execute as a second command. The vulnerable code path is reachable in two ways: (1) direct construction of `{ op: '...\n...' }` from external input, and (2) via `parse(cmd, envFn)` when `envFn` returns object tokens whose `.op` is attacker-influenced. Both are documented API surface. Fixed by replacing the per-character escape with strict shape validation: `.op` must match the parser's control-operator allowlist; `{ op: 'glob', pattern }` validates `pattern` and forbids line terminators; `{ comment }` validates `comment` and forbids line terminators; any other object shape throws `TypeError`.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-9277

Published

shell-quote

https://www.npmjs.com/package/shell-quote

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "shell-quote",
                    "collectionURL": "https://www.npmjs.com/package/shell-quote",
                    "packageName": "shell-quote",
                    "repo": "https://github.com/ljharb/shell-quote",
                    "programFiles": [
                        "quote.js"
                    ],
                    "versions": [
                        {
                            "status": "affected",
                            "version": "1.1.0",
                            "lessThan": "1.8.4",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 18 Nov 10:56 UTC · 273 of 275 readable · 260 fully read · 11 waiting for GitHub's hourly limit · documentation 469/469 current