{"answers":{"affected":"4 open source packages ship an affected version, including js-yaml. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59869 exists.","fix":"Upgrade js-yaml to a fixed version for your release line: 3.15.0 or 4.3.0.","what":"CVE-2026-59869 is a high-severity denial of service vulnerability in nodeca js-yaml, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-59869 and fix it if it is affected.\n\nWhat it is: CVE-2026-59869 is a high-severity denial of service vulnerability in nodeca js-yaml, published on 8 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-59869 exists.\n\nAffected packages and fixed versions:\n- js-yaml (npm): affected from 3.0.0; fixed in 3.15.0\n- js-yaml (npm): affected from 3.0.0; fixed in 3.15.0\n- js-yaml (npm): affected from 4.0.0; fixed in 4.3.0\n- js-yaml (npm): affected from 4.0.0; fixed in 4.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-59869/ (Markdown: https://insights.sbomify.com/CVE-2026-59869/index.md)","id":"CVE-2026-59869","markdown":"https://insights.sbomify.com/CVE-2026-59869/index.md","name":"CVE-2026-59869","record":{"aliases":["AZL-92192","CLEANSTART-2026-JG14084","CLEANSTART-2026-LP47125","CLEANSTART-2026-LU28686","CLEANSTART-2026-QF29635","CLEANSTART-2026-RI71860","CLSA-2026-1784596292","CLSA-2026-1784683084","CLSA-2026-1790187722","CLSA-2026-1790522263","DEBIAN-CVE-2026-59869","ECHO-f76d-d47e-3947","GHSA-52cp-r559-cp3m","MINI-2h8x-5w4f-p6xc","MINI-3375-96wc-696c","MINI-366g-gqrp-cpxh","MINI-58pj-944c-vqq8","MINI-5fgc-9v8c-4889","MINI-6ffc-g34r-34xj","MINI-6q5f-68r3-437r","MINI-72m8-9q5m-xjw8","MINI-7hm6-j2cm-fxx6","MINI-8wg5-m23c-p2r7","MINI-8xc8-5gjw-hjx4","MINI-97mq-rfhp-jgqf","MINI-9v7f-ffm9-q47v","MINI-c37m-c6h6-fwr8","MINI-cgpg-rh4x-v2qh","MINI-cpqr-6xq9-fpx9","MINI-cr2g-3538-4f7j","MINI-g6w6-w5x8-rhv6","MINI-gc9m-hj3g-rvg8","MINI-gxpr-937m-6vfv","MINI-h465-x7xv-rv2x","MINI-jp3m-phq2-3m36","MINI-jvfv-2292-qx7f","MINI-mfvf-vw4w-jwwq","MINI-mwcw-5qqv-6vxh","MINI-p2jm-fcgw-mhg8","MINI-pjr9-7wxm-c67j","MINI-q7m6-99vm-6f46","MINI-qc26-9hgp-987p","MINI-qr95-5hq4-2m6j","MINI-v45w-5xq4-3r2m","MINI-v7j2-6wmf-f2w3","MINI-v9c9-69x5-6fxx","MINI-w2x4-f3h9-2gpw","RHSA-2026:37532","RHSA-2026:38304","ROOT-APP-NPM-CVE-2026-59869","UBUNTU-CVE-2026-59869"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript YAML parser","requires_auth":"none","summary":"Attackers can cause excessive CPU consumption and service unavailability by submitting crafted YAML documents with merge key chains to applications using js-yaml.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"js-yaml","vendor":"nodeca"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"description":"js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, 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 versions 3.15.0 and 4.3.0.","ecosystems":["Red Hat:hummingbird:1","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"js-yaml: YAML merge-key chains can force quadratic CPU consumption","id":"CVE-2026-59869","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":22,"n_references":5,"next":{"headline":"js-yaml quadratic-complexity denial of service via YAML11_SCHEMA !!omap parsing","id":"CVE-2026-59870"},"packages":[{"ecosystem":"npm","fixed":["3.15.0"],"introduced":["3.0.0"],"last_affected":[],"package":"js-yaml","purl":null,"source":"GHSA-52cp-r559-cp3m"},{"ecosystem":"npm","fixed":["3.15.0"],"introduced":["3.0.0"],"last_affected":[],"package":"js-yaml","purl":"pkg:npm/js-yaml","source":"GHSA-52cp-r559-cp3m"},{"ecosystem":"npm","fixed":["4.3.0"],"introduced":["4.0.0"],"last_affected":[],"package":"js-yaml","purl":null,"source":"GHSA-52cp-r559-cp3m"},{"ecosystem":"npm","fixed":["4.3.0"],"introduced":["4.0.0"],"last_affected":[],"package":"js-yaml","purl":"pkg:npm/js-yaml","source":"GHSA-52cp-r559-cp3m"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:22.23.1-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22","purl":"pkg:rpm/redhat/nodejs22","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:22.23.1-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22-bin","purl":"pkg:rpm/redhat/nodejs22-bin","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:22.23.1-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22-devel","purl":"pkg:rpm/redhat/nodejs22-devel","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:22.23.1-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22-docs","purl":"pkg:rpm/redhat/nodejs22-docs","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:22.23.1-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22-full-i18n","purl":"pkg:rpm/redhat/nodejs22-full-i18n","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:22.23.1-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22-libs","purl":"pkg:rpm/redhat/nodejs22-libs","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:10.9.8-1.22.23.1.2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22-npm","purl":"pkg:rpm/redhat/nodejs22-npm","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:22.23.1-2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs22-npm-bin","purl":"pkg:rpm/redhat/nodejs22-npm-bin","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.4.0-1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26","purl":"pkg:rpm/redhat/nodejs26","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.4.0-1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26-bin","purl":"pkg:rpm/redhat/nodejs26-bin","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.4.0-1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26-devel","purl":"pkg:rpm/redhat/nodejs26-devel","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.4.0-1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26-docs","purl":"pkg:rpm/redhat/nodejs26-docs","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.4.0-1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26-full-i18n","purl":"pkg:rpm/redhat/nodejs26-full-i18n","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.4.0-1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26-libs","purl":"pkg:rpm/redhat/nodejs26-libs","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:11.17.0-1.26.4.0.1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26-npm","purl":"pkg:rpm/redhat/nodejs26-npm","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:26.4.0-1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"nodejs26-npm-bin","purl":"pkg:rpm/redhat/nodejs26-npm-bin","source":"RHSA-2026:37532"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:12.4.254.21-1.22.23.1.2.1.hum1"],"introduced":["0"],"last_affected":[],"package":"v8-12.4-devel","purl":"pkg:rpm/redhat/v8-12.4-devel","source":"RHSA-2026:38304"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:14.6.202.34-1.26.4.0.1.4.hum1"],"introduced":["0"],"last_affected":[],"package":"v8-14.6-devel","purl":"pkg:rpm/redhat/v8-14.6-devel","source":"RHSA-2026:37532"}],"prev":{"headline":"js-yaml: YAML merge-key chains can force quadratic CPU consumption","id":"CVE-2026-59868"},"products":["js-yaml"],"published":"2026-07-08","related":[{"cvss_score":7.5,"headline":"js-yaml quadratic-complexity denial of service via YAML11_SCHEMA !!omap parsing","id":"CVE-2026-59870","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":6.8,"headline":"Deserialization Code Execution in js-yaml","id":"CVE-2013-4660","kev_date_added":null,"published":"2013-06-28"},{"cvss_score":5.3,"headline":"js-yaml: YAML merge-key chains can force quadratic CPU consumption","id":"CVE-2026-59868","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":5.3,"headline":"js-yaml: Quadratic-complexity DoS in merge key handling via repeated aliases","id":"CVE-2026-53550","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":5.3,"headline":"js-yaml has prototype pollution in merge (\u003c\u003c)","id":"CVE-2025-64718","kev_date_added":null,"published":"2025-11-13"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["nodeca"]},"summary":"Attackers can cause excessive CPU consumption and service unavailability by submitting crafted YAML documents with merge key chains to applications using js-yaml.","url":"https://insights.sbomify.com/CVE-2026-59869/"}