Skip to content

chore: upgrade fast-uri to 3.1.7 to address CVE-2026-75899, CVE-2026-75931, CVE-2026-75975, CVE-2026-76172 - #1626

Merged
jsourcebot merged 2 commits into
mainfrom
cursor/cve/fast-uri
Sep 4, 2026
Merged

chore: upgrade fast-uri to 3.1.7 to address CVE-2026-75899, CVE-2026-75931, CVE-2026-75975, CVE-2026-76172#1626
jsourcebot merged 2 commits into
mainfrom
cursor/cve/fast-uri

Conversation

@claude

@claudeclaudeBot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Fixes SOU-2123
Fixes SOU-2124
Fixes SOU-2125
Fixes SOU-2126

Summary

fast-uri resolved to 3.1.5, which is affected by four advisories. The repo already carries a qualified resolution (fast-uri@npm:^3.0.1), but its floor of ^3.1.2 still admitted the vulnerable version. This raises the floor to ^3.1.6; the lockfile now resolves fast-uri to 3.1.7.

Advisories addressed

CVEGHSASummary
CVE-2026-75899GHSA-fph4-wmhf-6fwfSSRF via repeated hostname percent-decoding
CVE-2026-75931GHSA-5jgf-p345-68v8Host confusion via skipped IDN canonicalization
CVE-2026-75975GHSA-f65p-4m7j-42xcSSRF via malformed IPv6 normalization
CVE-2026-76172GHSA-jqff-g426-hqxpURI parsing flaw enabling SSRF and off-site redirects

All are fixed in 3.1.6.

Verification

  • yarn why fast-uri reports a single instance: ajv@npm:8.18.0 -> fast-uri@npm:3.1.7 (via npm:^3.1.6). No affected version remains in the graph.
  • yarn install --immutable succeeds.
  • yarn build:deps succeeds.
  • yarn test passes (2153 tests across queryLanguage, shared, backend, and web).

🤖 Generated with Claude Code


Note

Low Risk
Dependency-only security patch with no runtime logic changes; risk is limited to URI parsing behavior in the upgraded library.

Overview
Raises the Yarn resolution floor for fast-uri from ^3.1.2 to ^3.1.6, so the lockfile no longer pins the vulnerable 3.1.5 release and instead resolves 3.1.7. This is a transitive dependency (e.g. via ajv) with no application code changes.

Documents the upgrade under Unreleased → Fixed in CHANGELOG.md.

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


Summary by cubic

Updates yarn.lock to resolve fast-uri to 3.1.7 instead of the vulnerable 3.1.5, fixing four CVEs (SSRF, host confusion, and URI parsing) and closing SOU-2123 through SOU-2126. Adds a CHANGELOG entry under Unreleased → Fixed.

Written for commit 0fd03e9. Summary will update on new commits.

Review in cubic

@github-actions

github-actionsBot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

License Audit

⚠️Status: PASS

MetricCount
Total packages2173
Resolved (non-standard)8
Unresolved0
Strong copyleft0
Weak copyleft28

Weak Copyleft Packages (informational)

PackageVersionLicense
@img/sharp-libvips-darwin-arm641.3.2LGPL-3.0-or-later
@img/sharp-libvips-darwin-x641.3.2LGPL-3.0-or-later
@img/sharp-libvips-linux-arm1.3.2LGPL-3.0-or-later
@img/sharp-libvips-linux-arm641.3.2LGPL-3.0-or-later
@img/sharp-libvips-linux-ppc641.3.2LGPL-3.0-or-later
@img/sharp-libvips-linux-riscv641.3.2LGPL-3.0-or-later
@img/sharp-libvips-linux-s390x1.3.2LGPL-3.0-or-later
@img/sharp-libvips-linux-x641.3.2LGPL-3.0-or-later
@img/sharp-libvips-linuxmusl-arm641.3.2LGPL-3.0-or-later
@img/sharp-libvips-linuxmusl-x641.3.2LGPL-3.0-or-later
@img/sharp-wasm320.35.3Apache-2.0 AND LGPL-3.0-or-later AND MIT
@img/sharp-win32-arm640.35.3Apache-2.0 AND LGPL-3.0-or-later
@img/sharp-win32-ia320.35.3Apache-2.0 AND LGPL-3.0-or-later
@img/sharp-win32-x640.35.3Apache-2.0 AND LGPL-3.0-or-later
axe-core4.10.3MPL-2.0
dompurify3.4.13(MPL-2.0 OR Apache-2.0)
lightningcss1.32.0MPL-2.0
lightningcss-android-arm641.32.0MPL-2.0
lightningcss-darwin-arm641.32.0MPL-2.0
lightningcss-darwin-x641.32.0MPL-2.0
lightningcss-freebsd-x641.32.0MPL-2.0
lightningcss-linux-arm-gnueabihf1.32.0MPL-2.0
lightningcss-linux-arm64-gnu1.32.0MPL-2.0
lightningcss-linux-arm64-musl1.32.0MPL-2.0
lightningcss-linux-x64-gnu1.32.0MPL-2.0
lightningcss-linux-x64-musl1.32.0MPL-2.0
lightningcss-win32-arm64-msvc1.32.0MPL-2.0
lightningcss-win32-x64-msvc1.32.0MPL-2.0
Resolved Packages (8)
PackageVersionOriginalResolvedSource
codemirror-lang-elixir4.0.0UNKNOWNApache-2.0npm tarball LICENSE file (Apache License 2.0 full text)
khroma2.1.0UNKNOWNMITnpm tarball license file (MIT License text)
lezer-elixir1.1.2UNKNOWNApache-2.0npm tarball LICENSE file (Apache License 2.0 full text)
map-stream0.1.0UNKNOWNMITnpm tarball LICENCE file (MIT License text)
memorystream0.3.1UNKNOWNMITextracted from object (npm registry "licenses": [{"type":"MIT"}])
pause-stream0.0.11MIT,Apache2MIT OR Apache-2.0npm tarball LICENSE file ("Dual Licensed MIT and Apache 2")
posthog-js1.369.0SEE LICENSE IN LICENSEApache-2.0npm tarball LICENSE file (Apache License 2.0 full text)
valid-url1.0.9UNKNOWNMITnpm tarball LICENSE file (MIT License text)

@jsourcebotjsourcebot changed the title chore: upgrade fast-uri to ^3.1.6 to address CVE-2026-75899, CVE-2026-75931, CVE-2026-75975, CVE-2026-76172chore: upgrade fast-uri to 3.1.7 to address CVE-2026-75899, CVE-2026-75931, CVE-2026-75975, CVE-2026-76172Sep 4, 2026

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want reviews to match your repository better? Bugbot Learning can learn team-specific rules from PR activity. A team admin can enable Learning in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 0fd03e9. Configure here.

Comment threadyarn.lock
checksum: 10c0/2bf60eb800dd610c65e17be436425dcb21c92aff3a87d442a8bccab0b7b071e88cf1a5d7d1ea946370b937e6fc0375c405c0296c10587e57de4f78be4646d1d0
version: 3.1.7
resolution: "fast-uri@npm:3.1.7"
checksum: 10c0/ca2baa4bde48fc7322bdc692c6636975943ebe4f6dd97e07d70b14e0ab85af2ff30de90f550f5ec2956684fe208e150d85d6cb5f3c74438c8ac1bf86bd435c13

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolution floor still allows vulnerable versions

Medium Severity

The fast-uri resolution is still ^3.1.2, so affected 3.1.23.1.5 releases remain in range. The lockfile now pins 3.1.7, but the floor was not raised to ^3.1.6. A later lockfile rewrite can accept a vulnerable version again.

Fix in CursorFix in Web

Reviewed by Cursor Bugbot for commit 0fd03e9. Configure here.

@jsourcebot
jsourcebot merged commit e265a76 into mainSep 4, 2026
14 checks passed
@github-actionsgithub-actionsBot mentioned this pull request Sep 4, 2026
Sign up for freeto 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.

1 participant

@jsourcebot