
CVE catalog
CVE-2026-42040
Axios is a promise based HTTP client for the browser…
Axios is a promise based HTTP client for the browser and Node.js. Prior to 1.15.1 and 0.31.1, the encode() function in lib/helpers/AxiosURLSearchParams.js contains a character mapping (charMap) at line 21 that reverses the safe percent-encoding of null bytes. After encodeURIComponent('\x00') correctly produces the safe sequence %00, the charMap entry '%00': '\x00' converts it back to a raw null byte. Primary impact is limited because the standard axios request flow is not affected. This vulnerability is fixed in 1.15.1 and 0.31.1.
- Severity
- Low · CVSS 3.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.22% · Oct 27, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
Version impact has not been established. The original provider fields are retained below.
Provider details and historical evidence
Original provider fields
{
"package_releases": [
{
"name": "node-axios",
"status": "fixed",
"release": "sid",
"version": "1.20.0-1"
},
{
"name": "node-axios",
"status": "fixed",
"release": "forky",
"version": "1.20.0-1"
},
{
"name": "node-axios",
"status": "vulnerable",
"release": "trixie",
"version": "1.8.4+dfsg-1"
},
{
"name": "node-axios",
"status": "vulnerable",
"release": "bookworm",
"version": "1.2.1+dfsg-1+deb12u1"
}
],
"fixed_versions": [
{
"bug": 1134878,
"name": "node-axios",
"type": "source",
"origin": null,
"release": "sid",
"urgency": "not yet assigned",
"fixed_version": "1.15.2-1"
},
{
"bug": 1134878,
"name": "node-axios",
"type": "source",
"origin": null,
"release": "forky",
"urgency": "not yet assigned",
"fixed_version": "1.15.2-1"
},
{
"bug": 1134878,
"name": "node-axios",
"type": "source",
"origin": null,
"release": "trixie",
"urgency": "not yet assigned",
"fixed_version": ""
},
{
"bug": 1134878,
"name": "node-axios",
"type": "source",
"origin": null,
"release": "bookworm",
"urgency": "not yet assigned",
"fixed_version": ""
}
],
"distribution_packages": [
{
"name": "node-axios",
"ecosystem": "cpe",
"fixed_version": "not yet fixed"
},
{
"name": "axios",
"ecosystem": "cpe",
"fixed_version": "0.31.1"
},
{
"name": "axios",
"ecosystem": "cpe",
"fixed_version": "1.15.1"
},
{
"name": "axios",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.31.1"
}
]
}
],
"ecosystem": "npm",
"fixed_version": "0.31.1",
"provider_record_id": "GHSA-XHJH-PMCV-23JW"
}
]
}Publisher notes
[trixie] node-axios: Minor issue [bookworm] node-axios: Minor issue
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [node-axios]Unknown
Details (2)
1.2.1+dfsg-1+deb12u1· all · bookwormAffected
nvd · node-axios · debian · bookworm; nvd · node-axios · debian · 12
1.2.1+dfsg-1+deb12u1· all · bookwormAffected
nvd · node-axios · debian · bookworm; nvd · node-axios · debian · 12
[Debian 13 (Trixie)]
- [node-axios]Unknown
Details (2)
1.8.4+dfsg-1· all · trixieAffected
nvd · node-axios · debian · 13
1.8.4+dfsg-1· all · trixieAffected
nvd · node-axios · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-42040]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-42040]
- [https://osv.dev/vulnerability/GHSA-xhjh-pmcv-23jw]
- [https://security-tracker.debian.org/tracker/CVE-2026-42040]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42040.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1450.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]