BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-42040 in Axios

Low 3.7

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 s...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.13.7
EPSS0.3%
EPSS percentile13th
FixUnknown

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Axios Axios < 0.31.1 ≥ 1.0.0, < 1.15.1

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42040
BreachSpider IDBS-2026-GLOBAL-077509-L
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Published2026-04-24
Last modified2026-11-11
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-116: CWE-116

CWE-626: CWE-626

Related attack patterns (CAPEC)

CAPEC-81 Web Server Logs Tampering via CWE-116

CAPEC-85 AJAX Footprinting via CWE-116

CAPEC-73 User-Controlled Filename via CWE-116

CAPEC-104 Cross Zone Scripting via CWE-116

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A low severity vulnerability affects Axios systems (CVE-2026-42040). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

Vulnerability details: 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 vulnerab CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.

Questions

What is CVE-2026-42040?

A low severity vulnerability affects Axios systems (CVE-2026-42040). No public exploit code is currently available. Review vendor advisories and apply patches during the next maintenance window.

What is the CVSS score for CVE-2026-42040?

CVE-2026-42040 has CVSS 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.3%.

Is CVE-2026-42040 actively exploited?

No confirmed active exploitation of CVE-2026-42040 as of 2026-11-12.

How do I remediate CVE-2026-42040?

Priority: MONITOR. PSIRT: [email protected]

What systems are affected by CVE-2026-42040?

CVE-2026-42040 affects Axios Axios.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Axios","product":"Axios","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.