Skip to content

[agent] chore(deps): override axios to ^1.16.0 to fix high-severity CVEs#771

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
security/fix-axios-cve-2026-bcadb22d4d85aae6
Draft

[agent] chore(deps): override axios to ^1.16.0 to fix high-severity CVEs#771
github-actions[bot] wants to merge 1 commit into
mainfrom
security/fix-axios-cve-2026-bcadb22d4d85aae6

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 2, 2026

Summary

Adds an npm overrides entry to pin axios to ^1.16.0, resolving four Dependabot security alerts affecting this repository.

Alerts addressed

Alert GHSA CVE Severity Fixed in
#271 GHSA-3g43-6gmg-66jw CVE-2026-44495 High 1.15.2
#270 GHSA-35jp-ww65-95wh CVE-2026-44494 High 1.16.0
#269 GHSA-pjwm-pj3p-43mv CVE-2026-44492 High 1.16.0
#268 GHSA-898c-q2cr-xwhg CVE-2026-44490 Medium 1.16.0

The minimum version that fixes all alerts is 1.16.0. The lockfile now resolves axios to 1.16.1.

Why overrides and not a direct dependency bump?

axios is a transitive dependency: lernanxaxios.

  • lerna@^9.0.7 (our direct dep) depends on nx >=21.5.3 <23.0.0.
  • The currently resolved nx@22.6.5 depends on axios@1.15.0 (vulnerable).
  • nx@22.7.5 does depend on axios@1.16.0, but lerna@9.0.7 — the latest lerna v9 release — does not pin nx to that version, and no newer lerna release is available.
  • Since there is no manifest-level bump in a direct dependency that guarantees a safe transitive axios, an overrides entry is the correct and documented npm remediation approach.

Changes

  • package.json: added "overrides": { "axios": "^1.16.0" }
  • package-lock.json: regenerated; node_modules/axios now at 1.16.1

Generated by Dependabot remediation agent · ● 777.1K ·

Add npm overrides to pin axios to ^1.16.0 to resolve four high/medium
severity Dependabot alerts (GHSA-3g43-6gmg-66jw, GHSA-35jp-ww65-95wh,
GHSA-pjwm-pj3p-43mv, GHSA-898c-q2cr-xwhg).

axios is a transitive dependency pulled in via lerna -> nx -> axios.
The direct dependency (lerna@^9.0.7) depends on nx >=21.5.3 <23.0.0
and the currently resolved nx@22.6.5 pins axios@1.15.0. Since lerna
has not yet shipped a release that bumps nx to a version with axios
>=1.16.0, an overrides entry is the appropriate remediation.

The lockfile now resolves axios to 1.16.1.

Fixes alerts: #268, #269, #270, #271

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants