CVE-2026-42040Axios · Axios
Vulnerability data via NVD (ingested)
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.
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
vuln:CVE-2026-42040product:"Axios Axios"http.html:"Axios"More intel sources (5)
vuln:CVE-2026-42040vulnerabilities.cve_id: CVE-2026-42040CVE-2026-42040CVE-2026-42040"CVE-2026-42040" exploit -site:nvd.nist.gov