fix: bump axios to ^1.15.0 to address CVE-2026-40175#7225
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (9)
📒 Files selected for processing (9)
✅ Files skipped from review due to trivial changes (8)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughMultiple package manifest files were edited to standardize axios usage: root Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Actionable Issues
🚥 Pre-merge checks | ✅ 1 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (1 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@package.json`:
- Around line 119-120: The root override doesn't affect nested packages with
their own lockfiles; update each nested package's package.json dependency
"axios" to "^1.15.0" (packages/automl/frontend, packages/autorag/frontend,
packages/eval-hub/frontend, packages/gen-ai/frontend, packages/maas/frontend,
packages/mlflow/frontend, packages/notebooks/upstream/workspaces/frontend) and
then regenerate the package-lock.json in each by running the package's install
(e.g., npm install or npm ci) so the lockfile resolves to the safe axios range;
after updating, run npm audit (or your CI scan) in each package to confirm
CVE-2026-40175 is no longer present.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository YAML (base), Central YAML (inherited), Organization UI (inherited)
Review profile: CHILL
Plan: Pro Plus
Run ID: 732a7726-9c8a-423c-a29b-ec98248a29db
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json,!package-lock.json
📒 Files selected for processing (3)
frontend/package.jsonpackage.jsonpackages/contract-tests/package.json
dpanshug
left a comment
There was a problem hiding this comment.
/lgtm Verified this by running locally on latest cluster
=== Root ===
odh-dashboard@2.0.0 /Users/dipgupta/Documents/odh/odh-dashboard
├─┬ @odh-dashboard/contract-tests@0.0.0 -> ./packages/contract-tests
│ └── axios@1.15.0 overridden
├─┬ @odh-dashboard/observability@0.0.0 -> ./packages/observability
│ └─┬ @perses-dev/plugin-system@0.53.1
│ └─┬ @module-federation/enhanced@0.21.6
│ └─┬ @module-federation/dts-plugin@0.21.6
│ └── axios@1.15.0 deduped
└─┬ odh-dashboard-frontend@2.0.0 -> ./frontend
├─┬ @module-federation/enhanced@0.18.4
│ └─┬ @module-federation/dts-plugin@0.18.4
│ └── axios@1.15.0 deduped
├── axios@1.15.0 deduped
└─┬ wait-on@7.2.0
└── axios@1.15.0 deduped
=== gen-ai ===
gen-ai@0.0.2 /Users/dipgupta/Documents/odh/odh-dashboard/packages/gen-ai/frontend
└─┬ @module-federation/enhanced@0.13.1
└─┬ @module-federation/dts-plugin@0.13.1
└── axios@1.15.0 overridden
=== maas ===
maas-ui@1.0.0 /Users/dipgupta/Documents/odh/odh-dashboard/packages/maas/frontend
└─┬ @module-federation/enhanced@0.21.6
└─┬ @module-federation/dts-plugin@0.21.6
└── axios@1.15.0 overridden
=== model-registry ===
model-registry-ui@1.0.0 /Users/dipgupta/Documents/odh/odh-dashboard/packages/model-registry/upstream/frontend
└─┬ @module-federation/enhanced@0.21.6
└─┬ @module-federation/dts-plugin@0.21.6
└── axios@1.15.0
=== automl ===
automl-ui@1.0.0 /Users/dipgupta/Documents/odh/odh-dashboard/packages/automl/frontend
└─┬ @module-federation/enhanced@0.21.4
└─┬ @module-federation/dts-plugin@0.21.4
└── axios@1.15.0 overridden
=== autorag ===
autorag-ui@1.0.0 /Users/dipgupta/Documents/odh/odh-dashboard/packages/autorag/frontend
└─┬ @module-federation/enhanced@0.21.4
└─┬ @module-federation/dts-plugin@0.21.4
└── axios@1.15.0 overridden
=== eval-hub ===
eval-hub-ui@1.0.0 /Users/dipgupta/Documents/odh/odh-dashboard/packages/eval-hub/frontend
└─┬ @module-federation/enhanced@0.21.4
└─┬ @module-federation/dts-plugin@0.21.4
└── axios@1.15.0 overridden
=== mlflow ===
mlflow-ui@1.0.0 /Users/dipgupta/Documents/odh/odh-dashboard/packages/mlflow/frontend
└─┬ @module-federation/enhanced@0.21.4
└─┬ @module-federation/dts-plugin@0.21.4
└── axios@1.15.0 overridden
=== notebooks ===
kubeflow-workspaces-frontend@0.0.1 /Users/dipgupta/Documents/odh/odh-dashboard/packages/notebooks/upstream/workspaces/frontend
├─┬ @module-federation/enhanced@0.18.4
│ └─┬ @module-federation/dts-plugin@0.18.4
│ └── axios@1.15.0 deduped
└── axios@1.15.0 overridden
|
/retest |
|
/retest-required |
|
@crackcodecamp can you rebase with main to rerun the tests |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #7225 +/- ##
==========================================
+ Coverage 64.81% 64.89% +0.08%
==========================================
Files 2441 2441
Lines 75996 75996
Branches 19158 19158
==========================================
+ Hits 49257 49320 +63
+ Misses 26739 26676 -63 see 24 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Axios prior to 1.15.0 is vulnerable to a Prototype Pollution escalation that can lead to Remote Code Execution. Bumps direct dependencies and adds a root override to ensure all transitive copies are also updated.
The root override does not cascade to nested packages with their own independent lockfiles. Adds axios ^1.15.0 override to each federated module package and bumps the direct dep in notebooks. Affected packages: - packages/automl/frontend - packages/autorag/frontend - packages/eval-hub/frontend - packages/gen-ai/frontend - packages/maas/frontend - packages/mlflow/frontend - packages/notebooks/upstream/workspaces/frontend
95b080e to
91180d0
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dpanshug, manaswinidas The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ab43a55
into
opendatahub-io:main
Axios prior to 1.15.0 is vulnerable to a Prototype Pollution escalation that can lead to Remote Code Execution. Bumps direct dependencies and adds a root override to ensure all transitive copies are also updated.
Summary
axiosfrom^1.12.0to^1.15.0infrontendandpackages/contract-teststofix CVE-2026-40175
axios: ^1.15.0override in rootpackage.jsonto ensure transitive dependencies(
@module-federation/dts-plugin,wait-on) also resolve to the fixed versionCVE Details
allows Prototype Pollution in any third-party dependency to be escalated into Remote Code
Execution (RCE) or Full Cloud Compromise (via AWS IMDSv2 bypass)
Summary by CodeRabbit