Skip to content
OpenAdvisories

Description

axios is vulnerable to read-side prototype-pollution gadgets that can alter request construction when Object.prototype has already been polluted by a separate vulnerability or dependency. In the bodyless method aliases (axios.get(), axios.delete(), axios.head(), axios.options()), inherited data is read via (config || {}).data before config normalization, causing an attacker-controlled body to be sent on requests that did not set one. Additional low-level paths, only reachable when calling exported adapters/helpers (e.g. lib/adapters/http.js, unsafe/helpers/resolveConfig.js) directly with plain configs and no own proxy or paramsSerializer, can inherit polluted proxy values (routing requests through an attacker-controlled proxy) or paramsSerializer values (attacker-controlled URL serialization). These low-level gadgets do not reproduce through normal high-level axios calls on 1.15.2+. The issue is fixed in axios 1.18.0 and 0.33.0.

Affected products

VendorProductAffectedFixed
axios axios 1.0.0 – < 1.18.0, < 0.33.0 1.18.0

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.18.0-1 —
Debian 13 node-axios No fix yet —
Debian 12 node-axios No fix yet —
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 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS node-axios No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 grafana13.1 13.1.1-0.5.hum1 RHSA-2026:50826, RHSA-2026:49714

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling jitsucom-jitsu-console 2.11.0-r30 —
Wolfi rolling kubeflow-centraldashboard 1.10.0-r26 —
Wolfi rolling langfuse-3 +1 3.223.0-r0 —
Wolfi rolling langfuse-3-compat 3.225.7-r6 —
Wolfi rolling lerna 9.0.7-r11 —
Wolfi rolling nextcloud-server-33 33.0.6-r8 —
Wolfi rolling opensearch-dashboards-3 3.7.0-r11 —
Wolfi rolling prism 5.16.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm axios >= 1.0.0, < 1.18.0 1.18.0 GHSA-mmx7-hfxf-jppx
npm axios < 0.33.0 0.33.0 GHSA-mmx7-hfxf-jppx

Advisories 3

References