RCE in Binary-Parser

CVE-2026-1245

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.005 (40.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-1245?
CVE-2026-1245 is a medium-severity vulnerability in Binary-Parser, classified under Code Injection. CVSS score: 6.5/10. Published 2026-01-20.
How severe is CVE-2026-1245?
Medium severity. CVSS v3 base score is 6.5 out of 10.