The Hacker News
Binary Parser Flaw Enables JavaScript Injection in Node.js
Part of the CVE-2026-134814 story · since 23 Nov
- Mon 23 Nov, 14:00 UTC. The Hacker News, first report. Binary Parser Flaw Enables JavaScript Injection in Node.js. This article, 1st of 1.
A vulnerability has been disclosed in the binary-parser library (CVE-2026-134814) that could allow an attacker who controls parser definitions to inject and execute JavaScript within the Node.js process. The flaw affects binary-parser versions prior to 2.3.1 and is described as a code-injection risk arising when certain user-controlled string options are inserted directly into generated JavaScript code without adequate validation.
The NVD entry notes that an attacker can supply crafted values for length, lengthInBytes, key, tag, offset, or the namely() alias to trigger arbitrary code execution during parser compilation. The project maintainer’s advisory, issued on 11 November 2026, explains that the problem stemmed from unvalidated options being incorporated into the literals that form the parser’s generated code, and confirms that “parsing untrusted binary data with a trusted parser definition is not affected.”
The advisory and coverage from security researchers emphasise that these options are now validated as identifier paths (for example foo or $parent[.]len), with expressions such as len - 1 rejected; a function should be used instead. The presence of a related, earlier CVE (CVE-2026-1245) is noted as an incomplete fix, indicating ongoing concerns around field-name and encoding parameter validation. Upwind Security and others urge users to update to the latest library version to mitigate risk.
The disclosure attributes the assessment of exploitation potential to the vendor advisory and security researchers, and specifies that only adopters of untrusted parser definitions are at direct risk.
How the story developed
1 article from 1 outlet since 23 Nov. Still developing; the latest report was 49 minutes ago. This was the first report.
- Mon 23 Nov, 14:00 UTC. The Hacker News, first report. Binary Parser Flaw Enables JavaScript Injection in Node.js. This article, 1st of 1.
- CVE not in KEV
- No CVE
- Larger: an outlet’s first report
- Coverage over time
Show all 1 articles as a listHide the list
- Mon 23 NovDay 01
- Binary Parser Flaw Enables JavaScript Injection in Node.js14:00 · The Hacker News · First report · This article, 1st of 1