NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-1245: binary-parser library has a code injection vulnerability

mediumCVSS 3.1 6.5GHSA-m39p-34qh-rh3w

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.

Published Jan 20, 2026 · Updated Jan 21, 2026

Affected packages

binary-parser

Ecosystem
npm
Affected
< 2.3.0
Fixed in
2.3.0
Check
npm ls binary-parser

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to sei-vsarvepalli.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology