chore: override undici to ^6.27.0 to remediate CVEs - #47
Merged
Conversation
Co-Authored-By: Daniel Trugman <daniel@requesty.ai>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
requesty-JohnCosta27
approved these changes
Jul 31, 2026
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.
Summary
undici5.29.0 is still vulnerable (CVE-2026-1525, CVE-2026-1527, CVE-2026-22036 need ≥ 6.24.0; CVE-2026-9679 needs ≥ 6.27.0) and the previous lockfile bump could not reach it: it comes in transitively from@ai-sdk/provider-utils, and every published 3.x/4.x/5.x of that package still pinsundici: ^5.29.0, so no in-range resolution exists.Forcing it with a pnpm override, which resolves to
undici@6.28.0:undici 6 requires Node ≥ 18, which matches this package's
engines.node: ">=18", so the major bump is safe for our supported range. This can be dropped once upstream@ai-sdk/provider-utilsmoves to undici 6/7 on its own.Verification:
pnpm lint,pnpm typecheckandpnpm test(146 tests, node + edge) pass.pnpm buildstill fails with the pre-existing tsdownunrunimport error, unchanged frommain.Link to Devin session: https://app.devin.ai/sessions/2216f6167a274f5e86e5ff85a4f7b6f0
Requested by: @requesty-ditti