製品・ソフトウェアに関する情報
axios projectのaxiosにおける複数の脆弱性
Title axios projectのaxiosにおける複数の脆弱性
Summary

AxiosはブラウザおよびNode.js向けのPromiseベースのHTTPクライアントです。1.15.1および0.31.1以前のバージョンでは、lib/helpers/AxiosURLSearchParams.jsのencode()関数内(21行目)にヌルバイトの安全なパーセントエンコーディングを逆にする文字マッピング(charMap)が含まれていました。encodeURIComponent('\x00')は正しく安全なシーケンス%00を生成しますが、charMapのエントリ'%00': '\x00'によってそれが生のヌルバイトに戻されてしまいます。影響は標準のaxiosリクエストフローに大きな影響を与えないため限定的です。この脆弱性は1.15.1および0.31.1で修正されています。

Possible impacts 当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 また、当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 さらに、当該ソフトウェアは停止しません。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 24, 2026, midnight
Registration Date April 30, 2026, 12:25 p.m.
Last Update April 30, 2026, 12:25 p.m.
CVSS3.0 : 低
Score 3.7
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected System
axios project
axios 0.31.1 未満
axios 1.0.0 以上 1.15.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 12:25 p.m.

NVD Vulnerability Information
CVE-2026-42040
Summary

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.

Publication Date April 25, 2026, 3:16 a.m.
Registration Date April 25, 2026, 4:08 a.m.
Last Update April 28, 2026, 3:57 a.m.
Related information, measures and tools
Common Vulnerabilities List