Skip to content

chore: upgrade smol-toml to 1.8.0 to address CVE-2026-85730 - #1644

Open
claude[bot] wants to merge 2 commits into
mainfrom
cursor/cve/smol-toml
Open

chore: upgrade smol-toml to 1.8.0 to address CVE-2026-85730#1644
claude[bot] wants to merge 2 commits into
mainfrom
cursor/cve/smol-toml

Conversation

@claude

@claude claude Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Fixes SOU-2206

Raises the existing qualified smol-toml@npm:^1.6.0 resolution floor from ^1.6.1 to ^1.7.1 and refreshes yarn.lock, which now resolves 1.8.0.

smol-toml is not a direct dependency of any workspace. It reaches the tree only through @react-grab/cli (via react-grab / @react-grab/mcp in packages/web), and its version is already governed by a qualified resolutions entry added for an earlier advisory. That entry was the thing holding the floor at ^1.6.1, which is still affected here, so the floor is what had to move rather than a manifest range.

Advisory addressed

Advisory Patched in Summary
CVE-2026-85730 1.7.1 Denial of service: parse() can be forced into an infinite loop by a value inside an array or inline table followed by an unterminated comment

Verification

  • yarn why smol-toml reports every instance resolving to smol-toml@npm:1.8.0, with 1.6.1 gone from the graph.
  • yarn workspace @sourcebot/web test --run — 140 files, 1440 tests passed.

🤖 Generated with Claude Code


Note

Low Risk
Lockfile-only security patch for a transitive parser dependency; no runtime logic changes.

Overview
Bumps the Yarn resolution for transitive smol-toml from ^1.6.1 to ^1.7.1, so the lockfile now pins 1.8.0 instead of 1.6.1. This addresses CVE-2026-85730, where parse() could hang on crafted TOML (unterminated comment after array/inline-table values).

Documents the change under [Unreleased] → Fixed in CHANGELOG.md. No application code changes—only dependency pinning and lockfile refresh.

Reviewed by Cursor Bugbot for commit b078ee2. Bugbot is set up for automated code reviews on this repo. Configure here.


Summary by cubic

Upgrades smol-toml to 1.8.0 to patch CVE-2026-85730, a denial-of-service vulnerability in parse().

Dependencies

  • Raises the resolution floor for smol-toml@npm:^1.6.0 from ^1.6.1 to ^1.7.1; smol-toml is only a transitive dependency via @react-grab/cli.

Written for commit 3ee1a67. Summary will update on new commits.

Review in cubic

Raises the existing qualified `smol-toml@npm:^1.6.0` resolution floor from
`^1.6.1` to `^1.7.1` and refreshes yarn.lock, which now resolves 1.8.0.
smol-toml reaches the tree only through @react-grab/cli, which pins it
behind a resolution, so the floor is what has to move.

Addresses CVE-2026-85730.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 7685891c-79f5-4a6d-ac54-4ece7cace28f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@claude
claude Bot requested a review from brendan-kellam September 10, 2026 12:38
@github-actions

Copy link
Copy Markdown
Contributor

@claude[bot] your pull request is missing a changelog!

@github-actions

Copy link
Copy Markdown
Contributor

License Audit

❌ Audit failed to produce results. Check the workflow logs for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants