CVE-2026-67314

NameCVE-2026-67314
Descriptionaxios 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
node-axios (PTS)bullseye0.21.1+dfsg-1+deb11u1fixed
bookworm1.2.1+dfsg-1+deb12u1fixed
trixie1.8.4+dfsg-1fixed
forky, sid1.18.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
node-axiossourcebullseye(not affected)
node-axiossourcebookworm(not affected)
node-axiossourcetrixie(not affected)
node-axiossource(unstable)1.18.0-1

Notes

[trixie] - node-axios <not-affected> (Vulnerable code not present)
[bookworm] - node-axios <not-affected> (Vulnerable code not present)
[bullseye] - node-axios <not-affected> (Vulnerable code not present)
https://github.com/axios/axios/security/advisories/GHSA-xj6q-8x83-jv6g

Search for package or bug name: Reporting problems