Code Injection Flaw in Binary-Parser Library by Keichi
CVE-2026-1245
6.5MEDIUM
What is CVE-2026-1245?
The binary-parser library prior to version 2.3.0 is susceptible to a code injection vulnerability that permits the execution of arbitrary JavaScript code. This issue arises when untrusted values are inserted into parser field names or encoding parameters, leading to the direct interpolation of these values into dynamically generated code without proper sanitization. This lack of validation enables attackers to potentially execute malicious code within the Node.js context, posing significant security risks.
Affected Version(s)
binary-parser 0 < 2.3.0
