Skip to content
OpenAdvisories

Description

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.

Affected products

VendorProductAffectedFixed
axios axios >= 1.0.0, < 1.15.1, < 0.31.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-axios 1.15.2-1 —
Debian 13 node-axios No fix yet —
Debian 12 node-axios No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-axios No fix yet —
Ubuntu 25.10 node-axios No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 26.04 LTS node-axios No fix yet —
Ubuntu Pro 24.04 LTS node-axios No fix yet —
Ubuntu Pro 22.04 LTS node-axios No fix yet —
Ubuntu Pro 20.04 LTS node-axios No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 agama-web-ui 17+612.d8bf69336-160000.11.1 openSUSE-SU-2026:20919-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jitsucom-jitsu-console 2.11.0-r22 —
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —
Wolfi rolling kubeflow-centraldashboard 1.10.0-r21 —
Wolfi rolling langfuse-3 +1 3.174.1-r0 —
Wolfi rolling lerna 9.0.7-r4 —
Wolfi rolling nextcloud-server-33 33.0.6-r0 —
Wolfi rolling opensearch-dashboards-3 3.6.0-r3 —
Wolfi rolling prism 5.15.10-r0 —
Wolfi rolling saf 1.6.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm axios >= 1.0.0, < 1.15.1 1.15.1 GHSA-w9j2-pvgh-6h63
npm axios < 0.31.1 0.31.1 GHSA-w9j2-pvgh-6h63

Advisories 7

References