[Aikido] Fix security issue in fast-uri via minor version upgrade from 3.1.0 to 3.1.5 in apps - #9
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 6b962d8. Configure here.
|
|
||
| "when-exit": ["when-exit@2.1.5", "", {}, "sha512-VGkKJ564kzt6Ms1dbgPP/yuIoQCrsFAnRbptpC5wOEsDaNsbCB2bnfnaA8i/vRs5tjUSEOtIuvl9/MyVsvQZCg=="], | ||
|
|
||
| "ajv/fast-uri": ["fast-uri@3.1.0", "", {}, "sha512-iPeeDKJSWf4IEOasVVrknXpaBV0IApz/gp7S2bb7Z4Lljbl2MGJRqInZiUrQwV16cpzw/D3S5j5Julj/gT52AA=="], |
There was a problem hiding this comment.
Vulnerable fast-uri still resolved
High Severity
The lockfile adds top-level fast-uri@3.1.5, but also pins ajv/fast-uri to 3.1.0. conf → ajv is the real consumer, so installs still get the vulnerable build. ajv already allows ^3.0.1, so that nested pin blocks the CVE upgrade. The workspace entry also is not mirrored in package.json.
Additional Locations (2)
Reviewed by Cursor Bugbot for commit 6b962d8. Configure here.
|
Closed by Aikido: a new AutoFix has been created → #12 |


Upgrade fast-uri to fix SSRF/host-bypass, path-traversal, authority-spoofing, and Unicode-normalization vulnerabilities in URI parsing and comparison.
✅ 8 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
fast-uritreats as paths but Node's URL parser treats as authority, enabling redirection to unintended destinations.Note
Low Risk
Patch-level dependency upgrade with no application logic changes; residual risk is limited to whether nested
ajvstill resolves an olderfast-uricopy.Overview
Pins
fast-uri@3.1.5on@sharehtml/cliinapps/cli/bun.lock, replacing the prior 3.1.0 resolution for the workspace root dependency.This is a dependency-only security bump (no CLI source changes) aimed at patched URI parsing/normalization behavior—host allowlist/SSRF bypasses, path traversal via encoded segments, authority spoofing, and IDN/Unicode host mismatches vs standard parsers.
Note: the lockfile still records
ajv/fast-uri@3.1.0underajv; only the direct CLIfast-urientry moves to 3.1.5 unless a follow-up dedupes or overrides nestedajvusage.Reviewed by Cursor Bugbot for commit 6b962d8. Bugbot is set up for automated code reviews on this repo. Configure here.