Skip to content
OpenAdvisories

Description

axios versions >=1.15.2 and <1.18.0 contain prototype-pollution read-side gadgets in Basic auth subfield handling (lib/adapters/http.js and lib/helpers/resolveConfig.js). When an application is already affected by a separate prototype-pollution primitive and makes an axios request with an own auth object that omits the username and/or password properties, axios reads the inherited Object.prototype.username and Object.prototype.password values and uses them to construct an outbound 'Authorization: Basic ...' header. axios itself does not pollute prototypes. The practical impact is outbound request tampering: an attacker who controls the polluted prototype values can inject attacker-chosen Basic auth credentials or replace an existing Authorization header. Credential disclosure is only possible under additional application-specific conditions.

Affected products

VendorProductAffectedFixed
axios axios 1.15.2 – < 1.18.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 —
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
Red Hat Hardened Images 1 jaeger 2.20.0-0.8.hum1 RHSA-2026:48758
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed velociraptor 0.76.7.0.git145.b60ef1146-1.1 openSUSE-SU-2026:12070-1

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.15.2, < 1.18.0 1.18.0 GHSA-xj6q-8x83-jv6g

Advisories 5

References