CVE-2026-1245
CVE-2026-1245
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.5 · Medium · EPSS 0.6% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
binary-parser
- Versions
- ≥ 0, < 2.3.0: Affected (custom)
Update to 2.3.0
binary-parser npm
- Affected ranges
- SEMVER: < 2.3.0
Update to 2.3.0