CVE-2026-42041
Beskrivelse
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution to silently suppress all HTTP error responses (401, 403, 500, etc.), causing them to be treated as successful responses. This completely bypasses application-level authentication and error handling. The root cause is that validateStatus is the only config property using the mergeDirectKeys merge strategy, which uses JavaScript's in operator — an operator that inherently traverses the prototype chain. When Object.prototype.validateStatus is polluted with () => true, all HTTP status codes are accepted as success. This vulnerability is fixed in 1.15.1 and 0.31.1.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2026-04-24
- Sist endret
- 2026-11-11
- Tildelt av
- security-advisories@github.com
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
0.6 %
høyere enn 46 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ikke registrert hos kildene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Axios | Axios | < 0.31.1 | Berørt |
| Axios | Axios | ≥ 1.0.0, < 1.15.1 | Berørt |
Svakhetstype
-
CWE-1321: Improperly Controlled Modification of Object Prototype Attributes
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
-
CWE-287: Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
-
CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can b…
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
- T1040: Network Sniffing
- T1134: Access Token Manipulation
- T1185: Browser Session Hijacking
- T1505.003: Web Shell
- T1548: Abuse Elevation Control Mechanism
- T1550.001: Application Access Token
- T1557: Adversary-in-the-Middle
- T1563: Remote Service Session Hijacking
- T1574.010: Services File Permissions Weakness
Referanser
- https://github.com/axios/axios/security/advisories/GHSA-w9j2-pvgh-6h63
- https://github.com/axios/axios/security/advisories/GHSA-w9j2-pvgh-6h63
- https://access.redhat.com/errata/RHSA-2026:14937
- https://access.redhat.com/errata/RHSA-2026:16476
- https://access.redhat.com/errata/RHSA-2026:16532
- https://access.redhat.com/errata/RHSA-2026:16534
- https://access.redhat.com/errata/RHSA-2026:16535
- https://access.redhat.com/errata/RHSA-2026:16542
- https://access.redhat.com/errata/RHSA-2026:16874
- https://access.redhat.com/errata/RHSA-2026:17468
- https://access.redhat.com/errata/RHSA-2026:17474
- https://access.redhat.com/errata/RHSA-2026:17657
- https://access.redhat.com/errata/RHSA-2026:17699
- https://access.redhat.com/errata/RHSA-2026:19109
- https://access.redhat.com/errata/RHSA-2026:19375
- https://access.redhat.com/errata/RHSA-2026:20889
- https://access.redhat.com/errata/RHSA-2026:20938
- https://access.redhat.com/errata/RHSA-2026:21017
- https://access.redhat.com/errata/RHSA-2026:21338
- https://access.redhat.com/errata/RHSA-2026:21772
Relatert hos Berigo
Artikler
-
OpenAI bytter signeringssertifikat etter angrepet mot Axios
Samme produkt
2026-04-10
Sertifikatet for signering av OpenAIs macOS-applikasjoner lå eksponert i en byggekjede som brukte Axios, og byttes ut som et forsiktighetstiltak.
-
Forsyningskjedeangrep mot axios rammet et av npms mest brukte bibliotek
Samme produkt
2026-03-31
To skadelige versjoner ble publisert med vedlikeholderens kompromitterte konto og installerte en fjernstyringstrojaner på macOS, Windows og Linux.
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.