CVE-2026-59868
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/nodeca/js-yaml/commit/3105455b81dee69e0fd36e09ac0b2ccfdb54adc1
- github.com/nodeca/js-yaml/releases/tag/5.2.0
- github.com/nodeca/js-yaml/security/advisories/GHSA-g796-fgmg-93mv
- nvd.nist.gov/vuln/detail/CVE-2026-59868
- github.com/advisories/GHSA-g796-fgmg-93mv
- nvd.nist.gov/vuln/detail/CVE-2026-59868
- cve.org/CVERecord?id=CVE-2026-59868
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.