Add yarn resolution for axios ^0.31.0 (CVE-2026-40175)#6
Add yarn resolution for axios ^0.31.0 (CVE-2026-40175)#6devin-ai-integration[bot] wants to merge 1 commit intomainfrom
Conversation
Co-Authored-By: matthew.marji <matthew.marji@workos.com>
Original prompt from matthew.marji
|
🤖 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:
|
|
@nickcollisson-workos Could you review this axios security patch for CVE-2026-40175? (yarn resolution for 0.x line → ^0.31.0) |
Summary
Adds a yarn
resolutionsfield to force the transitiveaxiosdependency from0.25.0to^0.31.0, which contains the backported fix for CVE-2026-40175 (CVSS 10.0 — header injection chain enabling prototype pollution escalation to RCE/cloud metadata exfiltration).axiosis pulled in transitively viawait-on@^6.0.1. Since this repo uses Yarn 1, aresolutionsoverride is needed rather than a direct dependency bump.The 0.x fix was backported to
0.31.0(release notes), keeping this on the 0.x line to avoid a major version jump.Review & Testing Checklist for Human
wait-on(the only consumer of axios here) still works correctly with axios 0.31.0 — the 0.31.0 release notes note that__proto__key merging in config is now blocked, which is a minor breaking changeform-data@^4.0.4,proxy-from-env@^1.1.0)Notes
wait-onis a dev dependency used in tests, so production runtime is unaffectedLink to Devin session: https://app.devin.ai/sessions/f8a4b2e92c6b4dd1aadcf7becc2ae7bf