Skip to content

fix: bump axios to ^1.15.0 to address CVE-2026-40175 - #7226

Merged
openshift-merge-bot[bot] merged 2 commits into
opendatahub-io:stable-2.xfrom
crackcodecamp:fix/cve-2026-40175-axios-stable-2.x
Apr 14, 2026
Merged

fix: bump axios to ^1.15.0 to address CVE-2026-40175#7226
openshift-merge-bot[bot] merged 2 commits into
opendatahub-io:stable-2.xfrom
crackcodecamp:fix/cve-2026-40175-axios-stable-2.x

Conversation

@crackcodecamp

Copy link
Copy Markdown
Member

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

  • Bumps axios from ^1.12.0 to ^1.15.0 in frontend and packages/contract-tests to
    fix CVE-2026-40175
  • Adds axios: ^1.15.0 override in root package.json to ensure transitive dependencies
    (@module-federation/dts-plugin, wait-on) also resolve to the fixed version

CVE Details

  • CVE: CVE-2026-40175
  • Description: Axios prior to 1.15.0 is vulnerable to a "Gadget" attack chain that
    allows Prototype Pollution in any third-party dependency to be escalated into Remote Code
    Execution (RCE) or Full Cloud Compromise (via AWS IMDSv2 bypass)
  • Fix: Axios 1.15.0
  • Trackers: RHOAIENG-57809, RHOAIENG-57810

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.
@coderabbitai

coderabbitai Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 549083f3-7f0f-4dc6-8f05-537d4532959a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

Affected packages:
- packages/gen-ai/frontend
- packages/model-registry/upstream/frontend

@dpanshug dpanshug left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm Tested running locally on 2.25 cluster

Image

@manaswinidas manaswinidas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci

openshift-ci Bot commented Apr 14, 2026

Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 98cf02e into opendatahub-io:stable-2.x Apr 14, 2026
40 of 41 checks passed
manaswinidas added a commit to red-hat-data-services/odh-dashboard that referenced this pull request Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants