Repository navigation
fix(security): fix security issue in axios via major version upgrade from 0.27.2 to 1.20.0 in shared-actions - #280
Closed
aikido-autofix[bot] wants to merge 1 commit into
Conversation
3 tasks
✅ Security Analysis ResultsNo security issues found. 2 files reviewed.
|
Author
|
Aikido's automated cron job opened a newer AutoFix. It fixes the same vulnerabilities and more: fix(security): fix security issue in axios via major version upgrade from 0.27.2 to 1.20.0 in shared-actions |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-168445400-nxu8
branch
November 27, 2026 03:14
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.
Overview
Jira ticket: https://typeform.atlassian.net/browse/<TICKET_ID>
Upgrade axios to fix critical security vulnerabilities including proxy bypass/SSRF via hostname normalization flaws, credential leakage on cross-origin redirects, prototype pollution header injection, and ReDoS via unescaped XSRF cookie regex.
Changes
Security Impact — CVE vulnerabilities fixed by this PR
✅ 11 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
X-API-Keyor AWS tokens) during cross-origin redirects, allowing sensitive secrets to leak to unintended hosts. This can expose live credentials in shared environments where such headers are set by default.allowAbsoluteUrlsis not set tofalseby default when processing URLs inbuildFullPath(). This unsafe default may lead to unintended URL acceptance, allowing attackers to bypass expected r...axiosaccepted malformedhttp:andhttps:URLs that omitted//, such ashttps:internal.example, which could evade naive allowlist or WAF checks and reach unintended hosts. The library silently normalized these inputs instead of rejecting them. The f...formDataToJSONfunction allows attackers to manipulate object properties. Additionally, a ReDoS vulnerability incombineURLscan cause denial of service through malicious input.Breaking Changes & Upgrade Impact
Fix Details / Technical Implementation
🤖 Remediation details
Fix transitive
axiosvulnerability viaresolutionsoverrideShort summary
This PR remediates multiple high- and medium-severity vulnerabilities in the transitive dependency
axios, which is pulled intoshared-actions/send-deployment-eventby the direct dependencyanalytics-node. Because no published version ofanalytics-nodedeclares anaxiosrange that admits the patched 1.x releases, aresolutionsentry was added toshared-actions/send-deployment-event/package.jsonto force the resolved version to1.20.0, andyarn.lockwas refreshed accordingly.axios
axiosis a transitive dependency introduced byanalytics-node@6.2.0, which pins it at^0.27.2. The installed version0.27.2is affected by a large set of vulnerabilities requiring a fix ataxios@1.20.0(the minimum version that clears all reported advisories, including CVE-2026-101898 through CVE-2026-101909 which require1.20.0, and the original advisory set which required1.18.0). Sinceanalytics-node@6.2.0is the only published release of that package and it still declaresaxios@^0.27.2(incompatible with 1.x), no parent bump path exists. Aresolutionsfield was added topackage.jsonpinningaxiosto1.20.0as a last resort, andyarn installwas run to refreshyarn.lockso the lockfile resolvesaxiosto1.20.0.Version changes
axios0.27.21.20.0resolutionsoverride (transitive ofanalytics-node; no parent bump path available)Testing
Docs
For contributions to the
Typeform/.githubrepoNote: Please do not use this repository for new internal shared workflows and actions. Use https://github.com/Typeform/.github-private instead!
Please check that your contribution applies to one of these cases below. If this is not the case, please contribute to https://github.com/Typeform/.github-private instead.