{"answers":{"affected":"2 open source packages ship an affected version, including shescape. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32094 exists.","fix":"Upgrade shescape to 2.1.10 or later.","what":"CVE-2026-32094 is a medium-severity command injection vulnerability in ericcornelissen shescape, published on 11 Mar 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-32094 and fix it if it is affected.\n\nWhat it is: CVE-2026-32094 is a medium-severity command injection vulnerability in ericcornelissen shescape, published on 11 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-32094 exists.\n\nAffected packages and fixed versions:\n- shescape (npm): affected all versions; fixed in 2.1.10\n- shescape (npm): affected all versions; fixed in 2.1.10\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-32094/ (Markdown: https://insights.sbomify.com/CVE-2026-32094/index.md)","id":"CVE-2026-32094","markdown":"https://insights.sbomify.com/CVE-2026-32094/index.md","name":"CVE-2026-32094","record":{"aliases":["GHSA-9jfh-9xrq-4vwm"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript shell escape library","requires_auth":"none","summary":"Attackers can exploit unescaped bracket globs in Shescape to expand arguments into multiple filesystem matches, potentially leading to command injection or data exposure.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"shescape","vendor":"shescape_project"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Shescape is a simple shell escape library for JavaScript. Prior to 2.1.10, Shescape#escape() does not escape square-bracket glob syntax for Bash, BusyBox sh, and Dash. Applications that interpolate the return value directly into a shell command string can cause an attacker-controlled value like secret[12] to expand into multiple filesystem matches instead of a single literal argument, turning one argument into multiple trusted-pathname matches. This vulnerability is fixed in 2.1.10.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Shescape escape() leaves bracket glob expansion active on Bash, BusyBox, and Dash","id":"CVE-2026-32094","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Plunk has Stored Cross-Site Scripting (XSS) via SVG File Upload","id":"CVE-2026-32095"},"packages":[{"ecosystem":"npm","fixed":["2.1.10"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":null,"source":"GHSA-9jfh-9xrq-4vwm"},{"ecosystem":"npm","fixed":["2.1.10"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":"pkg:npm/shescape","source":"GHSA-9jfh-9xrq-4vwm"}],"prev":{"headline":"Windows Function Discovery Service (fdwsd.dll) Elevation of Privilege Vulnerability","id":"CVE-2026-32093"},"products":["shescape"],"published":"2026-03-11","related":[{"cvss_score":9.8,"headline":"Insufficient escaping of whitespace in shescape","id":"CVE-2022-31180","kev_date_added":null,"published":"2022-08-01"},{"cvss_score":8.1,"headline":"Insufficient escaping of line feeds for CMD in shescape","id":"CVE-2022-31179","kev_date_added":null,"published":"2022-08-01"},{"cvss_score":6.5,"headline":"Shescape on Windows escaping may be bypassed in threaded context","id":"CVE-2023-40185","kev_date_added":null,"published":"2023-08-23"},{"cvss_score":6.3,"headline":"Null characters not escaped in shescape","id":"CVE-2021-21384","kev_date_added":null,"published":"2021-03-18"},{"cvss_score":6.2,"headline":"Exposure of home directory through shescape on Unix with Bash","id":"CVE-2022-24725","kev_date_added":null,"published":"2022-03-03"},{"cvss_score":5.9,"headline":"Shescape Inefficient Regular Expression Complexity vulnerability","id":"CVE-2022-36064","kev_date_added":null,"published":"2022-09-06"}],"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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-12","vendors":["ericcornelissen"]},"summary":"Attackers can exploit unescaped bracket globs in Shescape to expand arguments into multiple filesystem matches, potentially leading to command injection or data exposure.","url":"https://insights.sbomify.com/CVE-2026-32094/"}