{"answers":{"affected":"4 open source packages ship an affected version, including shescape.","exploited":"There is no known exploitation of CVE-2026-73414 in the wild and no public exploit code.","fix":"Upgrade shescape to a fixed version for your release line: 2.1.14 or 3.0.1.","what":"CVE-2026-73414 is a critical command injection vulnerability in ericcornelissen shescape, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-73414 and fix it if it is affected.\n\nWhat it is: CVE-2026-73414 is a critical command injection vulnerability in ericcornelissen shescape, published on 12 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-73414 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- shescape (npm): affected all versions; fixed in 2.1.14\n- shescape (npm): affected all versions; fixed in 2.1.14\n- shescape (npm): affected from 3.0.0; fixed in 3.0.1\n- shescape (npm): affected from 3.0.0; fixed in 3.0.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-73414/ (Markdown: https://insights.sbomify.com/CVE-2026-73414/index.md)","id":"CVE-2026-73414","markdown":"https://insights.sbomify.com/CVE-2026-73414/index.md","name":"CVE-2026-73414","record":{"aliases":["GHSA-w4hw-qcx7-56pr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript shell escape library","requires_auth":"none","summary":"An attacker can execute arbitrary commands on Windows by injecting unescaped parentheses into arguments processed by the Shescape library.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"description":"Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/win/cmd.js does not escape `(` and `)` when applications use the escape or escapeAll APIs on Windows with shell set to cmd.exe, or with shell set to true when CMD is the default. An attacker-controlled argument can break out of a parenthesized CMD construct and inject shell syntax depending on the original command, resulting in arbitrary command execution. This issue is fixed in versions 2.1.14 and 3.0.1.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Shescape: Shell injection via unescaped parentheses on Windows with CMD","id":"CVE-2026-73414","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":4,"n_references":7,"next":{"headline":"jupyterlab: Image viewer in JupyterLab allows XSS when opening malicious image in new browser tab","id":"CVE-2026-73415"},"packages":[{"ecosystem":"npm","fixed":["2.1.14"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":null,"source":"GHSA-w4hw-qcx7-56pr"},{"ecosystem":"npm","fixed":["2.1.14"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":"pkg:npm/shescape","source":"GHSA-w4hw-qcx7-56pr"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"shescape","purl":null,"source":"GHSA-w4hw-qcx7-56pr"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"shescape","purl":"pkg:npm/shescape","source":"GHSA-w4hw-qcx7-56pr"}],"prev":{"headline":"Shescape: Quadratic-time denial of service in flag-protection","id":"CVE-2026-73413"},"products":["shescape"],"published":"2026-08-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-14","vendors":["ericcornelissen"]},"summary":"An attacker can execute arbitrary commands on Windows by injecting unescaped parentheses into arguments processed by the Shescape library.","url":"https://insights.sbomify.com/CVE-2026-73414/"}