[Aikido] Fix 27 security issues in axios, form-data - #35
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 27 security issues in axios, form-data#35aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Author
|
Closed by Aikido: a new AutoFix has been created → #40 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-91939411-rnpt
branch
September 3, 2026 00:43
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.
Problem
Upgrade axios and form-data to fix critical SSRF, proxy bypass, prototype pollution, and HTTP parameter pollution vulnerabilities.
Changes
Security Impact — CVE vulnerabilities fixed by this PR:
✅ 27 CVEs resolved by this upgrade, including 5 critical 🚨 CVEs
This PR will resolve the following CVEs:
data:scheme URLs that bypass memory limits, causing unbounded memory allocation and process crashes (DoS) on Node.js. The issue affects versions 0.28.0 through 0.30.1 and 1.x before 1.12.0.This issue affects form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3.
Breaking Changes & Upgrade Impact — prefer Warnings / Cautions /⚠️ sections over implementation sections (upgrade risks, breaking changes, manual migration steps):
⚠️ Breaking changes analysis not available for: axios
✅ No breaking changes for: form-data
Fix Details / Technical Implementation (detailed write-up of what was changed and why):
🤖 Remediation details
Fix transitive security vulnerabilities in
axiosandform-data(examples/example-node)Short summary
This PR remediates security vulnerabilities in two transitive dependencies —
axiosandform-data— within theexamples/example-nodeproject. Both packages are pulled in transitively (not declared directly inpackage.json), so the fix is a lockfile-only change: the resolved versions inexamples/example-node/yarn.lockwere refreshed to patched releases. No manifest (package.json) changes were required or made.axios
axiosis a transitive dependency resolved vialangfuse-node → axios@^1.7.4. The existing parent range^1.7.4already permitted a patched release, so no manifest edit was needed — runningyarn upgrade 'axios@^1.7.4'refreshed the lockfile entry from the vulnerable1.7.8to1.19.0. The upgrade also pulled in updated transitive dependencies ofaxiositself (follow-redirects,https-proxy-agent,proxy-from-env, and several supporting packages) that accompany the new release.form-data
form-datais a transitive dependency resolved vialangfuse-node → axios → form-data@^4.0.0. The parent range^4.0.0already permitted4.0.6, so the lockfile entry was refreshed as a side-effect of theaxiosupgrade above — no separate action was required. The resolved version moved from the vulnerable4.0.0to4.0.6, andform-data@4.0.6introduces additional transitive dependencies (es-set-tostringtag,hasown) that are reflected in the updated lockfile.Version changes
axios1.7.81.19.0langfuse-node@^1.7.4)form-data4.0.04.0.6axios@^4.0.0)follow-redirects1.15.91.16.0axiosbump (axios@1.19.0requires^1.16.0)proxy-from-env1.1.02.1.0axiosbump (axios@1.19.0requires^2.1.0)https-proxy-agent5.0.1axios@1.19.0agent-base6.0.2https-proxy-agent@5.0.1call-bind-apply-helpers1.0.2axios@1.19.0/form-data@4.0.6chaindunder-proto1.0.1axios@1.19.0chaines-define-property1.0.1axios@1.19.0chaines-object-atoms1.1.2axios@1.19.0chaines-set-tostringtag2.1.0form-data@4.0.6get-proto1.0.1axios@1.19.0chainhas-tostringtag1.0.2form-data@4.0.6/axios@1.19.0chainhasown2.0.4form-data@4.0.6/axios@1.19.0chainmath-intrinsics1.1.0axios@1.19.0chainRelease info Sub-libraries affected
Bump level
Libraries affected
Changelog notes
Note
Medium Risk
axios jumps several minor versions with possible API/behavior changes for HTTP/proxy handling used by langfuse-node, though scope is limited to the example app’s lockfile.
Overview
Lockfile-only security refresh for
examples/example-node:yarn.locknow resolves transitiveaxiosfrom 1.7.8 → 1.19.0 (vialangfuse-node’s^1.7.4) andform-datafrom 4.0.0 → 4.0.6 (via axios). Nopackage.jsonchanges.The axios bump also updates its direct deps (
follow-redirects,proxy-from-env,form-data) and addshttps-proxy-agent(and related packages such asagent-base,debug@4, and severales-*/hasownhelpers pulled in by the newer axios/form-data chain).Reviewed by Cursor Bugbot for commit f1be89d. Bugbot is set up for automated code reviews on this repo. Configure here.