CVSS 3.1
3.7 lowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NLow (3.7) in axios axios. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in axios 0.31.1, 1.15.1.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:Naxios (npm): fixed in 1.15.1, 0.31.1Explain CVE-2026-42040 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42040?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42040?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42040 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| axios:axios | before 0.31.1 |
| axios:axios | from 1.0.0 before 1.15.1 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xhjh-pmcv-23jw | npm | axios | >=1.0.0 <1.15.1 | 1.15.1 |
| GHSA-xhjh-pmcv-23jw | npm | axios | <0.31.1 | 0.31.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | node-axios | no fix listed | DEBIAN-CVE-2026-42040 |
| Debian | 14 | node-axios | 1.15.2-1 | DEBIAN-CVE-2026-42040 |
| Ubuntu | 25.10, 26.10, Pro:20.04:LTS and 3 more | node-axios | no fix listed | UBUNTU-CVE-2026-42040 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Low.
Red Hat rates this vulnerability as Low impact with a CVSS score of 3.7, matching the upstream assessment. The vulnerable code only runs when URL search parameters are built through the AxiosURLSearchParams helper. Standard axios request methods (get, post, etc.) do not use this helper, and Red Hat products that bundle axios construct HTTP parameters from trusted internal inputs rather than unsanitized user data. For exploitation, an attacker would need to inject null bytes into user input that reaches this specific helper, which is unlikely in typical deployments. If a raw null byte reaches a downstream system that treats it as a string terminator, it could cause unexpected behavior such as parameter truncation, path traversal, or security filter bypass. The practical risk remains low because exploitation requires both unsanitized user input flowing into the AxiosURLSearchParams helper and a backend that interprets null bytes differently from the sending application.
Validate and sanitize user-controlled input to remove null bytes before passing it to URL parameter construction. Standard axios request methods (axios.get, axios.post with a params object) do not use the vulnerable AxiosURLSearchParams helper and are not affected.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 9.2 | rhceph/rhceph-9-rhel10:1790843527 | Fixed 2026-10-21 | RHSA-2026:86618 |
| Cryostat 4 | axios | Fix deferred | |
| Cryostat 4 | cryostat-openshift-console-plugin-npm | Fix deferred | |
| Gatekeeper 3 | gatekeeper/gatekeeper-rhel9 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-ui-rhel8 | Fix deferred | |
| Migration Toolkit for Applications 8 | mta/mta-ui-rhel9 | Fix deferred | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-ui-rhel8 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/console-mce-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-console-plugin-compat-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-console-plugin-pf4-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-console-plugin-pf5-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-console-plugin-rhel9 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Fix deferred | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-ossmc-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/kiali-rhel8 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-ossmc-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-rhel9 | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-service-mesh/kiali-rhel9-operator | Fix deferred | |
| 70 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42040.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.