DEV Community

Cover image for CVE-2026-134814: binary-parser JavaScript Injection RCE Teardown
PyVren
PyVren

Posted on Originally published at pyvren.com

CVE-2026-134814: binary-parser JavaScript Injection RCE Teardown

TL;DR: CVE-2026-134814 is a critical code injection flaw in binary-parser before 2.3.1 that lets attackers inject JavaScript through unvalidated string-typed parser options via Context.generateOption(); upgrade to 2.3.1 or later.

CVE-2026-134814 is a critical code injection vulnerability in the binary-parser npm package. Versions before 2.3.1 allow attackers who control parser definitions to inject JavaScript through string-typed options passed unvalidated by Context.generateOption(). The flaw yields arbitrary JavaScript execution inside the Node.js process when a malicious parser is compiled. CVSS v4 scores this at 9.2 Critical with network attack vector, high attack complexity, no privileges required, and no user interaction.

Verified Key Facts

Metric / Signal Finding
CVE ID CVE-2026-134814
CVSS v4 Score 9.2 Critical
Affected Versions binary-parser before 2.3.1
Patched Version binary-parser 2.3.1 or later
Vulnerable Function Context.generateOption()
Attack Vector Network, Attack Complexity High, Privileges Required None

Inside the Full Technical Dispatch

  • Incident Timeline & Blast-Radius Table
  • Technical Root Cause & Attack Vector (Defensive Analysis)
  • Exact Patch, Upgrade & Verification Commands
  • Detection Rules & Hardening Checklist

Read the full analysis, runnable configurations, benchmark tables, and primary source citations on Pyvren.

Originally published on Pyvren by Hamdi Soudani.

Top comments (0)