{"answers":{"affected":"4 open source packages ship an affected version, including shescape.","exploited":"There is no known exploitation of CVE-2026-73411 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-73411 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-73411 and fix it if it is affected.\n\nWhat it is: CVE-2026-73411 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-73411 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-73411/ (Markdown: https://insights.sbomify.com/CVE-2026-73411/index.md)","id":"CVE-2026-73411","markdown":"https://insights.sbomify.com/CVE-2026-73411/index.md","name":"CVE-2026-73411","record":{"aliases":["GHSA-q53c-4prm-w95q"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript shell escape library","requires_auth":"none","summary":"An attacker can disclose the home directory path and alter command execution location by exploiting improper tilde escaping in the Shescape library.","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: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"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"description":"Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/unix/dash.js fails to escape ~ after : or = when applications use the escape or escapeAll APIs on Unix with shell set to dash, or with shell set to true when Dash is the default, and interpolate the result into an assignment prefixed to a command. An attacker who controls the input can supply a value such as :~ to disclose the home-directory path and may change the location on which the command operates. 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: Home-directory disclosure in assignment context on Unix with Dash","id":"CVE-2026-73411","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: Path disclosure on Unix with Zsh","id":"CVE-2026-73412"},"packages":[{"ecosystem":"npm","fixed":["2.1.14"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":null,"source":"GHSA-q53c-4prm-w95q"},{"ecosystem":"npm","fixed":["2.1.14"],"introduced":["0"],"last_affected":[],"package":"shescape","purl":"pkg:npm/shescape","source":"GHSA-q53c-4prm-w95q"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"shescape","purl":null,"source":"GHSA-q53c-4prm-w95q"},{"ecosystem":"npm","fixed":["3.0.1"],"introduced":["3.0.0"],"last_affected":[],"package":"shescape","purl":"pkg:npm/shescape","source":"GHSA-q53c-4prm-w95q"}],"prev":{"headline":"Budibase: SSRF via DNS rebinding in the REST datasource integration","id":"CVE-2026-73410"},"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-12","vendors":["ericcornelissen"]},"summary":"An attacker can disclose the home directory path and alter command execution location by exploiting improper tilde escaping in the Shescape library.","url":"https://insights.sbomify.com/CVE-2026-73411/"}