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, a prototype pollution gadget exists in the Axios HTTP adapter (lib/adapters/http.js) that allows an attacker to inject arbitrary HTTP headers into outgoing requests. The vulnerability exploits duck-type checking of the data payload, where if Object.prototype is polluted with getHeaders, append, pipe, on, once, and Symbol.toStringTag, Axios misidentifies any plain object payload as a FormData instance and calls the attacker-controlled getHeaders() function, merging the returned headers into the outgoing request. The vulnerable code resides exclusively in lib/adapters/http.js. The prototype pollution source does not need to originate from Axios itself — any prototype pollution primitive in any dependency in the application's dependency tree is sufficient to trigger this gadget. 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
Red Hat Ansible Automation Platform Developer 2 automation-controller +1 4.7.13-2.el9ap RHSA-2026:34160
Red Hat Ansible Automation Platform Developer 2 python3.12-urllib3 2.7.0-1.el9ap RHSA-2026:34160
Red Hat Ansible Automation Platform 2 automation-controller +4 4.7.13-2.el9ap RHSA-2026:34160
Red Hat Ansible Automation Platform 2 automation-platform-ui 2.6.10-1.el9ap RHSA-2026:34160
Red Hat Ansible Automation Platform 2 python3.12-pyjwt +1 2.13.0-1.el9ap RHSA-2026:34160
Red Hat Ansible Automation Platform 2 python3.12-pysequoia 0.1.34-1.el9ap RHSA-2026:34160
Red Hat Ansible Automation Platform 2 python3.12-urllib3 2.7.0-1.el9ap RHSA-2026:34160

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-6chq-wfr3-2hj9
npm axios < 0.31.1 0.31.1 GHSA-6chq-wfr3-2hj9

Advisories 8

References