{"answers":{"affected":"4 open source packages ship an affected version, including shescape.","exploited":"There is no known exploitation of CVE-2026-73412 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-73412 is a medium-severity 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-73412 and fix it if it is affected.\n\nWhat it is: CVE-2026-73412 is a medium-severity 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-73412 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-73412/ (Markdown: https://insights.sbomify.com/CVE-2026-73412/index.md)","id":"CVE-2026-73412","markdown":"https://insights.sbomify.com/CVE-2026-73412/index.md","name":"CVE-2026-73412","record":{"aliases":["GHSA-6v4m-fw66-8r4x"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"JavaScript shell escape library","requires_auth":"none","summary":"An attacker can exploit Zsh globbing features in the Shescape library to disclose file and directory listings on Unix systems.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/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-155","name":"Improper Neutralization of Wildcards or Matching Symbols"}],"description":"Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, this impacts users of Shescape on Unix systems that explicitly configure shell to Zsh, or true when the default shell is Zsh, using the escape and escapeAll. The Zsh options EXTENDED_GLOB and MAGIC_EQUAL_SUBST exacerbate the problem. In certain case, an attacker can leverage home directory expansion and extended glob syntax to obtain lists of files and directories on the system. Depending on what the command does, this may be used to leak more information. 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: Path disclosure on Unix with Zsh","id":"CVE-2026-73412","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":4,"n_references":7,"next":{"headline":"Shescape: Quadratic-time denial of service in flag-protection","id":"CVE-2026-73413"},"packages":[{"ecosystem":"npm","fixed":["2.1.14"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":null,"source":"GHSA-6v4m-fw66-8r4x"},{"ecosystem":"npm","fixed":["2.1.14"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":"pkg:npm/shescape","source":"GHSA-6v4m-fw66-8r4x"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"shescape","purl":null,"source":"GHSA-6v4m-fw66-8r4x"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"shescape","purl":"pkg:npm/shescape","source":"GHSA-6v4m-fw66-8r4x"}],"prev":{"headline":"Shescape: Home-directory disclosure in assignment context on Unix with Dash","id":"CVE-2026-73411"},"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-13","vendors":["ericcornelissen"]},"summary":"An attacker can exploit Zsh globbing features in the Shescape library to disclose file and directory listings on Unix systems.","url":"https://insights.sbomify.com/CVE-2026-73412/"}