CVE detail
CVE-2026-9277
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`.
Buzz score
Why this CVE is surfacing
This all-time snapshot uses the same composite formula as Trending across a 30-year evidence window, rather than a current rolling window.
Buzz score components · mention 30.0 · diversity 19.5 · KEV 0.0 · OTX 0.0 · PoC 0.0
Why it matters now
Mention timeline
- Total mentions
- 0
- within the 30d window
- Peak daily
- 0
- highest bucket
Evidence
Source links by recency
30 source links · newest first
- https://access.redhat.com/errata/RHSA-2026:40765access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:42796access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:41928access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:41066access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-9277.jsonsecurity.access.redhat.com
No excerpt available.
Vendor Advisorysecurity.access.redhat.comMay 22, 2026, 2:16 PM - https://bugzilla.redhat.com/show_bug.cgi?id=2480741bugzilla.redhat.com
No excerpt available.
Exploitbugzilla.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/security/cve/CVE-2026-9277access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:36754access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:34791access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:34342access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:33683access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:33574access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:30076access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:29834access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:29795access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:29197access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:28571access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:28010access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:26234access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:26225access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:26090access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:26080access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:26079access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:26077access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - https://access.redhat.com/errata/RHSA-2026:26072access.redhat.com
No excerpt available.
Vendor Advisoryaccess.redhat.comMay 22, 2026, 2:16 PM - http://www.openwall.com/lists/oss-security/2026/05/23/2www.openwall.com
No excerpt available.
Exploitwww.openwall.comMay 22, 2026, 2:16 PM - https://www.npmjs.com/package/shell-quotewww.npmjs.com
No excerpt available.
Release Noteswww.npmjs.comMay 22, 2026, 2:16 PM No excerpt available.
Exploitgithub.comMay 22, 2026, 2:16 PMNo excerpt available.
Exploitgithub.comMay 22, 2026, 2:16 PM- https://github.com/ljharb/shell-quotegithub.com
No excerpt available.
Exploitgithub.comMay 22, 2026, 2:16 PM
Exploit code
Public exploit repository references
Public PoC repositories are third-party, potentially unsafe artifacts. Treat their code as untrusted and use it only on authorized systems in an isolated, least-privilege environment. cvebuzz does not execute the code or verify that an exploit works.
0 repository references · best confidence N/A · max 0 stars
Related records
Similar CVEs
6 related CVEs with shared weakness or product evidence
- CVE-2026-16763CVSS 1.9 · Low
A vulnerability was identified in localstack serverless-localstack up to 1.4.0. The affected element is an unknown function of the file src/index.js of the component Configuration…
- CVE-2026-47670CVSS 9.4 · Critical
DbGate is cross-platform database manager. Versions 7.1.8 and prior are vulnerable to authenticated Remote Code Execution (RCE). Any user with valid DbGate credentials can execute…
- CVE-2026-16735CVSS 1.9 · Low
A security vulnerability has been detected in release-it conventional-changelog up to 11.0.1. This affects the function writeChangelog of the file index.js of the component Change…
- CVE-2026-16733CVSS 1.9 · Low
A weakness has been identified in bahmutov find-cypress-specs up to 1.54.12. The impacted element is the function shell.exec of the file src/index.js of the component Branch Handl…
- CVE-2026-16631CVSS 1.9 · Low
A vulnerability was detected in publint up to 0.1.4. This impacts the function child_process.exec of the file src/node/pack.js of the component package-manager Command Handler. Th…
- CVE-2026-16630CVSS 1.9 · Low
A security vulnerability has been detected in syncfusion ej2-javascript-ui-controls up to 33.2.3. This affects the function child_process.exec of the file package.json. The manipu…