Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
Debian Linux: Unauthenticated Remote Code Execution
DEBIAN-CVE-2026-9277
Summary
A security issue affects Debian Linux systems, allowing an attacker to run unauthorized code on a vulnerable system without needing a password. This could potentially allow an attacker to take control of the system. Debian Linux users should update their systems to the latest version to fix this issue.
What to do
- Update debian node-shell-quote to version 1.8.4+~1.7.5-1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Debian:12 | debian | node-shell-quote | All versions |
| Debian:13 | debian | node-shell-quote | All versions |
| Debian:14 | debian | node-shell-quote |
< 1.8.4+~1.7.5-1 Fix: upgrade to 1.8.4+~1.7.5-1
|
Original title
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`, whic...
Original description
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`.
- https://security-tracker.debian.org/tracker/CVE-2026-9277 Vendor Advisory
Published: 22 May 2026 · Updated: 26 May 2026 · First seen: 22 May 2026