Vulnerabilities

Vulnerability · CVE-2026-9277

shell-quote's function did not validate object-token inputs against the operator model used by .

Published May 22, 2026 · catalog updated Sep 14, 2026 · shell-quote's function did not

Check if you run it

No confirmed exploitation is on record for CVE-2026-9277. EPSS is 0.82%. Act only if a listed version of shell-quote's function did not is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (shell-quote's function did not).
  • No version range is stored. A customer cannot check an installed version against this record.
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Critical9.2
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
0.82%
Remediation
Advisory link
Affected products
See sources for product scope

shell-quote's function did not validate object-token inputs against the operator model used by . The field was backslash-escaped character by character using , which in JavaScript does not match line terminators (\n, \r, U+2028, U+2029). A line terminator in 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 from external input, and (2) via when returns object tokens whose is attacker-influenced. Both are documented API surface. Fixed by replacing the per-character escape with strict shape validation: must match the parser's control-operator allowlist; validates and forbids line terminators; validates and forbids line terminators; any other object shape throws .

No affected version ranges are stored yet. Use the vendor advisory before you decide this record does not apply.

How to fix CVE-2026-9277

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2026-9277. EPSS is 0.82%. Act only if a listed version of shell-quote's function did not is installed.

Which versions are affected?

Affected version ranges are not on this record. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-77: Command Injection; CWE-78: OS Command Injection. EPSS 0.82%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. May 22, 2026 · NIST NVD

    Detected

    shell-quote's function did not validate object-token inputs against the operator model used by . The field was backslash-escaped character by character using , which in JavaScript does not match line terminators (\n, \r, U+2028, U+2029). A line terminator in therefore passed through unescaped into the output; POSIX shells treat a literal newline as a command separator, so any content after it woul

  2. Sep 14, 2026 · NIST NVD

    Updated

    shell-quote's function did not validate object-token inputs against the operator model used by . The field was backslash-escaped character by character using , which in JavaScript does not match line terminators (\n, \r, U+2028, U+2029). A line terminator in therefore passed through unescaped into the output; POSIX shells treat a literal newline as a command separator, so any content after it woul

Sources

  • CVE.orgVulnerability recordCVE-2026-9277

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2026-9277

    30-day exploitation probability 0.8%

    first.org
  • NIST NVDVulnerability recordCVE-2026-9277

    shell-quote's function did not validate object-token inputs against the operator model used by . The field was backslash-escaped character by character using , which in JavaScript does not match line terminators (\n, \r, U+2028, U+2029). A line te

    nvd.nist.gov

References

Freshness

Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.