Severity: CRITICAL (CVSS 4.0 9.2 / CVSS 3.1 8.1) · Exploitation: Public exploit available, no confirmed attacks · Fix available: Yes
CVE-2026-134814 is a code injection vulnerability (CWE-94) in the binary-parser Node.js library affecting all versions before 2.3.1. The flaw exists in Context.generateOption(), which passes string-typed parser options — such as length, lengthInBytes, key, tag, offset, and namely() alias values — to the parser compiler without validation. An attacker who controls parser definitions can inject arbitrary JavaScript that executes in the Node.js process when the parser is compiled. The vulnerability was discovered by Zachariah Mithani of AploSec and disclosed on 22 November 2026. A patched release, version 2.3.1, is available.
The root cause is a lack of input sanitisation in Context.generateOption(): string values supplied as parser configuration options are incorporated directly into generated JavaScript code without escaping or allowlist validation. When the compiled parser is instantiated, the injected code runs in the Node.js process with the same privileges as the application. An attacker must be in a position to influence parser definitions — for example, by supplying untrusted configuration, schema data, or binary format specifications that the application passes to binary-parser.
The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) reflects network reachability, high attack complexity due to the prerequisite of controlling parser input, and an additional prerequisite condition, but no authentication or user-interaction requirement. Full confidentiality, integrity, and availability impact on the vulnerable component is assessed. The exact code path is documented in the upstream source reference at lib/binary_parser.ts lines 26–35.
binary-parser — are especially exposed, as the injection point sits within library infrastructure rather than application code.No in-the-wild exploitation has been confirmed and this CVE is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog at the time of publication. However, public exploit code was published on cve.now on 22 November 2026, the same day the CVE was disclosed, lowering the barrier to exploitation significantly. Teams running affected versions of binary-parser in internet-facing or multi-tenant Node.js applications should treat this as high-priority and patch promptly.
binary-parser to version 2.3.1 or later using your package manager (e.g., npm install binary-parser@2.3.1 or yarn add binary-parser@2.3.1).binary-parser that may not be directly visible in your top-level manifest.length, lengthInBytes, key, tag, offset, namely() aliases) to any binary-parser instance.npm list binary-parser or equivalent, and validate that version 2.3.1 or later is active throughout your dependency tree.Uptycs vulnerability management continuously identifies hosts, containers, and cloud workloads running affected versions of binary-parser — including transitive dependencies — so security teams can prioritize patching based on actual exposure. Uptycs Threat Research is actively monitoring this vulnerability and will update this bulletin if confirmed in-the-wild exploitation or additional indicators of compromise are identified.