Cyber Risks · The Hacker News

CERT/CC Warns binary-parser Bug Allows Node.js Privilege-Level Code Execution

Summary: CERT/CC disclosed CVE-2026-1245 (CVSS 6.5) in the binary-parser npm library, affecting all versions before 2.3.0, which was patched on November 26, 2025. The flaw stems from the library interpolating user-supplied field names and encoding parameters into JavaScript code generated at runtime via the Function constructor without sanitization, allowing arbitrary JavaScript execution with the privileges of the Node.js process.

What's compelling: The package draws roughly 13,000 weekly downloads, and any application that builds parser definitions from untrusted input hands an attacker the privileges of its Node.js process - access to local data, manipulation of application logic, or execution of system commands depending on the deployment environment.

Read the original at The Hacker News ↗

Topics
Vulnerabilities & Patching
Mentions
CVE-2026-1245
Related