{"answers":{"affected":"1 open source package ship an affected version, including binary-parser.","exploited":"There is no known exploitation of CVE-2026-134814 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls Context.generateOption(). Many projects that include it are not exposed.","fix":"Upgrade binary-parser to 2.3.1 or later.","what":"CVE-2026-134814 is a critical code injection vulnerability in keichi binary-parser, published on 22 Nov 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-134814 and fix it if it is affected.\n\nWhat it is: CVE-2026-134814 is a critical code injection vulnerability in keichi binary-parser, published on 22 Nov 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-134814 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls Context.generateOption(). Many projects that include it are not exposed.\n\nAffected packages and fixed versions:\n- binary-parser (npm): affected all versions; fixed in 2.3.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.\n   If an affected version is present, also search the code for calls to Context.generateOption() and report whether any exist.\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-134814/ (Markdown: https://insights.sbomify.com/CVE-2026-134814/index.md)","id":"CVE-2026-134814","markdown":"https://insights.sbomify.com/CVE-2026-134814/index.md","name":"CVE-2026-134814","record":{"aliases":["GHSA-hhq6-2gpv-hrf4","GHSA-xmxc-6c22-m377"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js binary parser","requires_auth":"none","requires_specific_call":true,"summary":"Attackers controlling parser definitions can inject JavaScript via string options in binary-parser, executing code in the Node.js process.","user_interaction":"not_required","vuln_class":"code_injection","vulnerable_functions":["Context.generateOption()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"binary-parser before 2.3.1 contains a code injection vulnerability that allows attackers controlling parser definitions to inject JavaScript through string-typed options passed unvalidated by Context.generateOption(). Attackers can supply crafted length, lengthInBytes, key, tag, offset, or namely() alias values to execute arbitrary JavaScript in the Node.js process when the parser is compiled.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":"2026-11-23","github_poc":3,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-11-23T10:29:25Z","kind":"github_poc","ref":"https://github.com/googlesky/CVE-2026-134814","stars":0,"title":"binary-parser \u003c2.3.1: string options interpolated verbatim into generated parser JS — 'x+(globalThis.INJECTED=1,0)' as a length option executes attacker code. Real npm 2.3.0 vs 2.3.1 (110206b): global flag set on vuln, 'Invalid reference' on fixed"},{"date":"2026-11-23T19:50:16Z","kind":"github_poc","ref":"https://github.com/abraxas/cve-2026-134814-binary-parser-option-injection","stars":0,"title":"CVE-2026-134814 - binary-parser - Critical 9.2 - Code injection. String options are interpolated into generated parser source, so a hostile parser definition executes JavaScript. Differential lab: 2.3.0 injects via three sinks, 2.3.1 rejects all."},{"date":"2026-11-24T15:43:57Z","kind":"github_poc","ref":"https://github.com/cveForge/CVE-2026-134814","stars":0,"title":"PoC for CVE-2026-134814 — binary-parser npm Code Injection RCE (CVSS 8.1)"}],"tier":"poc_unverified"},"has_fix":false,"headline":"binary-parser before 2.3.1 Code Injection via String-Typed Parser Options","id":"CVE-2026-134814","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"main_cpe":null,"main_fixed":["2.3.1"],"main_package":"binary-parser","n_packages":1,"n_references":5,"n_vendor_status":0,"next":{"headline":"simple-git before 4.1.0 Argument Injection via --exec Option in ls-remote","id":"CVE-2026-134815"},"nickname":null,"packages":[{"ecosystem":"npm","fixed":["2.3.1"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"binary-parser","purl":"pkg:npm/binary-parser","purl_source":"cna","scope":"upstream","source":"CVE-2026-134814"}],"prev":{"headline":"Faye websocket-driver 0.5.0 before 0.8.0 Decompression Bomb via permessage-deflate","id":"CVE-2026-134813"},"products":["binary-parser"],"published":"2026-11-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-22","vendor_status":[],"vendors":["keichi"]},"summary":"Attackers controlling parser definitions can inject JavaScript via string options in binary-parser, executing code in the Node.js process.","url":"https://insights.sbomify.com/CVE-2026-134814/"}