Vulnerability
CVE-2026-42040
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.
212 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-36fv-fpg9-4m3w
- CGA-39r3-x72h-jrhm
- CGA-3qcf-jqv8-5q73
- CGA-46wm-x2cx-q8hw
- CGA-4v2f-fjfc-8x47
- CGA-52q7-4858-3977
- CGA-5p6j-5h9f-289v
- CGA-5vv4-m82c-6q6g
- CGA-66wv-5m5r-3455
- CGA-6xhc-4v56-rp4q
- CGA-7vgp-r8cp-fpgw
- CGA-7wvv-7wvr-6mv6
- CGA-83ww-3xc3-qpmw
- CGA-8f4x-5j5w-vp3g
- CGA-8fv2-hc9v-px83
- CGA-97mc-f2qg-6x8h
- CGA-9jrq-4xq6-jp28
- CGA-9qhg-qvxv-fqrq
- CGA-cq3v-hc38-74fx
- CGA-fg69-vx5v-q93c
- CGA-g4p5-rvg4-5594
- CGA-grvj-6w5r-hmqm
- CGA-h5j4-xfg8-9f2p
- CGA-hrwx-32fj-jfq7
- CGA-j38j-f2xw-7f88
- CGA-j3jh-8p9r-845h
- CGA-j4q4-2qmh-qmh7
- CGA-jg6r-w7h6-7xh5
- CGA-jmr2-c89j-mqp4
- CGA-jr99-q45p-2p87
- CGA-m498-q9cm-8vxg
- CGA-m94c-gfx6-4qgm
- CGA-mjcp-2898-ff7g
- CGA-pv2c-pmc8-f6rp
- CGA-q99f-xp75-5hhr
- CGA-qr53-rf99-869c
- CGA-qv5c-3mrg-h9fq
- CGA-rcmw-263j-rpfj
- CGA-rm4v-4hrv-95xj
- CGA-rqm3-94q2-7jfx
- CGA-vq5v-48ww-gg65
- CGA-w7x4-8mg3-gpvh
- CGA-wjq2-c8p5-c3pc
- CGA-wqw3-5gfj-x346
- CGA-x4h6-q887-cwmx