Skip to content
CVE-2026-134814: JavaScript code injection in binary-parser via unvalidated string options

CVE-2026-134814: JavaScript code injection in binary-parser via unvalidated string options

First seen 23 Nov 2026, 12:47 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 23, 2026 at 12:48 UTC
  • •CVE-2026-134814 (CVSS 9.2) lets attackers inject JavaScript through string options in binary-parser before 2.3.1.
  • •Exploitation requires an attacker able to supply or modify parser-definition values that the application compiles.
  • •A public proof-of-concept harness exists; Redpacketsecurity reports no KEV, SSVC, or EPSS indicators and active exploitation is unconfirmed.
  • •Upgrade to binary-parser 2.3.1, auditing direct and transitive dependencies first.
  • •Until patched, reject untrusted parser definitions and allowlist option values.

binary-parser versions before 2.3.1 contain a code injection flaw (CWE-94) tracked as CVE-2026-134814, rated CVSS 9.2 and published 2026-11-22. String-valued parser options (length, lengthInBytes, offset, tag, key, and namely() aliases) were interpolated unvalidated into generated JavaScript. An application that builds parsers from attacker-controlled option strings can therefore execute arbitrary JavaScript in its own Node.js process when parsing data. Sploitus published a proof-of-concept harness and exploit reproducing the issue, demonstrated by setting globalThis.INJECTED from generated code. Redpacketsecurity rates the risk high where untrusted parties can influence parser definitions, but states its data does not include KEV, SSVC, PoC or EPSS indicators, so active exploitation cannot be confirmed. The most exposed systems are Node.js services and tools that build parsers dynamically from user-controlled input, uploaded schemas, plugins or external format definitions. The fix is in version 2.3.1 (commit 110206b, GHSA-hhq6-2gpv-hrf4), which validates string options as dotted JavaScript identifiers via sanitizeReference(). Redpacketsecurity recommends rejecting untrusted parser definitions and strictly allowlisting option values until patched.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Updated just now How this analysis works

Timeline

2026-11-22
CVE-2026-134814 published
Disclosed with CVSS 9.2 for JavaScript code injection through unvalidated string options in binary-parser before 2.3.1.
Redpacketsecurity
2026-11-23
Proof-of-concept exploit published
Sploitus published a harness and exploit demonstrating injection via a length option, with the 2.3.1 fix shown to reject it.
Sploitus

More articles in this cluster (7)

Following this threat?

Track CVE-2026-134814 in your own feed — you're alerted when they show up in new reporting, leak sites or exploitation.

Free account · no card needed

Common questions

Am I affected?
You are affected if you use binary-parser before 2.3.1 and build parsers from option strings that an attacker can influence. Redpacketsecurity notes the risk is high only where untrusted parties can shape parser definitions.
Is this being actively exploited?
Active exploitation is not confirmed. Redpacketsecurity reports no KEV, SSVC, PoC or EPSS indicators, though Sploitus published a working PoC harness.
What should we do first?
Identify all direct and transitive binary-parser dependencies and upgrade to 2.3.1. Until then, reject untrusted parser definitions and allowlist string-valued options.