3.7

CVE-2026-42040: axios Improper Encoding or Escaping of Output

CVSS: 3.7v3.1LowAnalyzed
AliasesUBUNTU-CVE-2026-42040DEBIAN-CVE-2026-42040CGA-36fv-fpg9-4m3w
Published 24-04-2026Last modified 27-04-2026

Vulnerability summary

CVE-2026-42040 is a low (CVSS 3.7) Improper Encoding or Escaping of Output vulnerability in axios. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.2% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
25/100
0100
Medium · default modelHow is this calculated?
CVSS score
3.7/10
010
Low · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 24-04-2026
    PublishedVulnerability first disclosed.
  2. 27-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

17%

Versus all other CVEs

30-day change

+0.05 pp

From 0.22% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Axios

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard78 products
  • airflow-2All versions (No fix recorded)
  • airflow-core-2All versions (No fix recorded)
  • arangodb-3.11< 3.11.14.5-r14
  • awx< 24.6.1-r42
  • gitlab-rails-ce-18.1All versions (No fix recorded)
Wolfi19 products
  • jitsucom-jitsu-console< 2.11.0-r22
  • katib-earlystopping< 0.19.0-r31
  • katib-suggestion-goptuna-compat< 0.19.0-r40
  • katib-suggestion-hyperband< 0.19.0-r31
  • katib-suggestion-hyperopt< 0.19.0-r31 | < 0.19.0-r40
Axios1 product
  • axios< 0.31.1 | ≥ 1.0.0, < 1.15.1
Debian1 product
  • node-axiosAll versions (No fix recorded) | < 1.15.2-1
Npm1 product
  • axios≥ 1.0.0, < 1.15.1 | < 0.31.1
Ubuntu1 product
  • node-axiosAll versions (No fix recorded)

6 vendors · 101 products

References

7 links