Skip to content
Heist/ feed
Medium

Axios: Prototype pollution gadget in fetch adapter can alter outbound requests

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-101908

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-101908

axios

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "axios",
    "product": "axios",
    "versions": [
      {
        "status": "affected",
        "version": ">= 1.7.0, < 1.20.0"
      }
    ]
  }
]
Related CVEs
CVE-2026-101908

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#3294 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement