chore: upgrade js-yaml to ^4.3.0 to address CVE-2026-59869#1470
Open
linear-code[bot] wants to merge 2 commits into
Open
chore: upgrade js-yaml to ^4.3.0 to address CVE-2026-59869#1470linear-code[bot] wants to merge 2 commits into
linear-code[bot] wants to merge 2 commits into
Conversation
Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1551/sourcebot-devsourcebot-cve-2026-59869-js-yaml-js-yaml-denial-of#agent-session-a1c6a603) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Generated with [Linear](https://linear.app/sourcebot/issue/SOU-1551/sourcebot-devsourcebot-cve-2026-59869-js-yaml-js-yaml-denial-of#agent-session-a1c6a603) Co-authored-by: linear-code[bot] <222613912+linear-code[bot]@users.noreply.github.com>
Contributor
License Audit❌ Audit failed to produce results. Check the workflow logs for details. |
brendan-kellam
marked this pull request as ready for review
July 21, 2026 14:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes SOU-1551
Addresses CVE-2026-59869 (HIGH): js-yaml can spend quadratic CPU time parsing crafted YAML documents that chain merge keys, enabling a denial of service. Fixed in js-yaml 4.3.0.
All requesters (
@apidevtools/json-schema-ref-parser,@eslint/eslintrc,json-schema-to-typescript) already declared^4.1.xranges that admit 4.3.0, so this is a lockfile refresh only (yarn up -R js-yaml) — nopackage.jsonorresolutionschange needed.yarn why js-yamlconfirms every instance now resolves to4.3.0.Note
Low Risk
Patch-level transitive dependency update with no application code changes; typical low-risk security maintenance.
Overview
Security dependency bump for transitive
js-yaml: the lockfile now resolvesjs-yaml@^4.1.1to 4.3.0 (from 4.2.0), with nopackage.jsonor resolutions edits because existing^4.1.xranges already allow 4.3.0.This addresses CVE-2026-59869, where parsing crafted YAML with chained merge keys could cause quadratic CPU use (DoS). The [Unreleased] changelog records the upgrade under Fixed.
Reviewed by Cursor Bugbot for commit 34dfd2a. Bugbot is set up for automated code reviews on this repo. Configure here.