Medium, CVSS 6.5npmAmendedPublished
binary-parser library has a code injection vulnerability
CVE-2026-1245 · GHSA-m39p-34qh-rh3w
- Affected
- npm binary-parser < 2.3.0
- Fixed in
- 2.3.0· Vendor fix available
- Issue
- A code injection vulnerability in the binary-parser library prior to version 2.3.0 allows arbitrary JavaScript code execution when untrusted values are used in parser field names or encoding parameters. The library directly interpolates these values into dynamically generated code without sanitization, enabling attackers to execute arbitrary code in the context of the Node.js process.
Recommended action: Upgrade to 2.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.