CVE-2026-1245 json
CVE-2026-1245
published 2026-01-20 9 mo ago modified 2026-06-17 4 mo ago also GHSA-m39p-34qh-rh3w , EUVD-2026-3343
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm binary-parser 2.3.0
- binary-parser binary-parser 2.3.0
- github.com/keichi/binary-parser#283 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | binary-parser | <2.3.0 |
2.3.0 |
Affected products
- binary-parser binary-parser
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/keichi/binary-parser/pull/283
web, patch
-
github.com
/keichi/binary-parser
package, product
-
npmjs.com
/package/binary-parser
web, product
-
kb.cert.org
/vuls/id/102648
web, third-party-advisory
-
kb.cert.org
/vuls/id/102648
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-1245
advisory
-
cve.org
/CVERecord?id=CVE-2026-1245
web
Sources
- CVE List CVE-2026-1245
- GitHub Advisory GHSA-m39p-34qh-rh3w
- NVD CVE-2026-1245
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.