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

AxiosはブラウザとNode.js向けのPromiseベースのHTTPクライアントです。バージョン1.0.0から1.15.2未満のAxiosライブラリには、プロトタイプ汚染による「ガジェット」攻撃の脆弱性が存在します。これにより、アプリケーションの依存関係ツリー内の任意のObject.prototype汚染を、すべてのJSON APIレスポンスに対して外科的かつ不可視な変更へとエスカレートさせることが可能になります。この攻撃には権限昇格、残高操作、認可回避が含まれます。lib/defaults/index.jsの124行目にあるデフォルトのtransformResponse関数はJSON.parse(data, this.parseReviver)を呼び出しますが、このthisはマージされた設定オブジェクトを指します。parseReviverはAxiosのデフォルトでは存在せず、assertOptionsで検証されておらず、制約も課されていません。そのため、汚染されたObject.prototype.parseReviver関数がすべてのJSONレスポンス内のすべてのキーと値のペアについて呼び出されます。これにより攻撃者はレスポンスの他の部分を変更せずに特定の値だけを選択的に修正できます。この脆弱性はバージョン1.15.2で修正されました。

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 9.1
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Affected System
axios project
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-42044
Summary

Axios is a promise based HTTP client for the browser and Node.js. From 1.0.0 to before 1.15.2, he Axios library is vulnerable to a Prototype Pollution "Gadget" attack that allows any Object.prototype pollution in the application's dependency tree to be escalated into surgical, invisible modification of all JSON API responses — including privilege escalation, balance manipulation, and authorization bypass. The default transformResponse function at lib/defaults/index.js:124 calls JSON.parse(data, this.parseReviver), where this is the merged config object. Because parseReviver is not present in Axios defaults, not validated by assertOptions, and not subject to any constraints, a polluted Object.prototype.parseReviver function is called for every key-value pair in every JSON response, allowing the attacker to selectively modify individual values while leaving the rest of the response intact. This vulnerability is fixed in 1.15.2.

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