CVE-2026-101908: Axios: Prototype pollution gadget in fetch adapter can alter outbound requests

Published Sep 28, 2026
·
Updated

Axios is a promise-based HTTP client for the browser and Node.js. From 1.7.0 until 1.20.0, the fetch adapter constructs a Request with sanitized resolvedOptions but then calls fetch with the original fetchOptions. A separate same-process prototype-pollution flaw populates Object.prototype.headers so fetchOptions.headers resolves through inheritance. The inherited fetchOptions.headers value overrides the sanitized Request headers through the second argument to fetch after Request construction. Attacker-controlled request headers can alter authorization, caching, metadata-service access, or application-specific behavior. This issue is fixed in version 1.20.0.

Affected Software

1 affected component
npm/axios>=1.7.0<1.20.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade axios to a version that resolves this vulnerability.

    Fixed in 1.20.0

Event History

Sep 28, 2026
CVE Published
via MITRE·05:38 PM
Data Sourced
via MITRE·05:38 PM
DescriptionWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What conditions are required for exploitation?

An attacker must be able to exploit a separate prototype-pollution issue in the same process to populate Object.prototype.headers. The vulnerable fetch adapter must then make an outbound request using fetchOptions that inherits that attacker-controlled headers value.

2

Which Axios versions need remediation?

Axios versions from 1.7.0 up to, but not including, 1.20.0 are affected. Upgrade to version 1.20.0 to obtain the fix.

3

What can an attacker change through this issue?

Attacker-controlled inherited headers can override the sanitized headers when fetch is called. This can affect authorization, caching, metadata-service access, or application-specific behavior of outbound requests.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203