CVE-2026-59868: nodeca js-yaml · Inefficient Algorithmic Complexity
Affects nodeca js-yamlSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium : upgrade to 5.2.0 when convenient.
Data as of 21 Nov 2026, 17:35 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.2.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 8 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade nodeca js-yaml to 5.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| nodecajs-yaml | Affected
| Fixed in
|
npmjs-yamlpkg:npm/js-yamlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade js-yaml to version 5.2.0 or later, where this inefficient algorithmic complexity issue is fixed. Patch status is confirmed by the version range and fix version stated in the description. No other mitigation is indicated.
Description
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.0, when merge keys are enabled, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in version 5.2.0.