Axios: Header Injection via Inherited headers After Minimal Interceptor
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
Axios is a promise-based HTTP client for the browser and Node.js. From 1.0.0 until 1.20.0, the dispatchRequest function normalizes inherited Object.prototype.headers from a replacement request configuration. A separate same-process prototype-pollution flaw sets Object.prototype.headers, and trusted request interceptors return a new ordinary configuration without an own headers property. After the interceptor chain, dispatchRequest resolves the inherited headers during normalization. Downstream request processing can observe attacker-controlled headers, including authorization-related values. This issue is fixed in version 1.20.0.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| axios | axios | 1.0.0 to before 1.20.0 | 1.20.0 | Patch available | CNA |
| — | axios (npm) | 1.0.0 to before 1.20.0 | 1.20.0 | Patch available | GHSA-j8rh-479h-cp32 |
- axios Vendoraxios Affected 1.0.0 to before 1.20.0 Fixed in 1.20.0 Patch available CNA
- axios (npm) Vendor— Affected 1.0.0 to before 1.20.0 Fixed in 1.20.0 Patch available GHSA-j8rh-479h-cp32
Remediation
- Fix · CNA axios (axios) Fixed in 1.20.0
- Fix · GHSA-j8rh-479h-cp32 axios (npm) Fixed in 1.20.0 Advisory →
Red Hat 3 advisories
- RHSA-2026:74872 Released 2026-10-02 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images grafana13.2-13.2.1-0.9.hum1@aarch64, grafana13.2-13.2.1-0.9.hum1@src, grafana13.2-13.2.1-0.9.hum1@x86_64
- RHSA-2026:74871 Released 2026-10-02 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images grafana12.4-12.4.12-0.3.hum1@aarch64, grafana12.4-12.4.12-0.3.hum1@src, grafana12.4-12.4.12-0.3.hum1@x86_64
- RHSA-2026:74869 Released 2026-10-02 · Red Hat rating ImportantRed Hat Hardened Images RPMs Security Update
- Red Hat Hardened Images grafana13.1-13.1.6-0.6.hum1@aarch64, grafana13.1-13.1.6-0.6.hum1@src, grafana13.1-13.1.6-0.6.hum1@x86_64
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Hardened Images | Fixed | RHSA-2026:74869, RHSA-2026:74871, RHSA-2026:74872 |
Not affected: 1 product
- Red Hat Hardened Images
Timeline
- 2026-10-02 Threatist record created from CVE-2026-101904
- 2026-10-03 Alias added: GHSA-j8rh-479h-cp32
References
More axios vulnerabilities
- TI-2026-30422 Server-side request forgery in axios CVSS 3.1CRITICAL 10.0
- TI-2026-65210 Axios: Prototype Pollution Gadget in axios toFormData Options CVSS 4.0HIGH 8.3
- TI-2026-32427 Server-side request forgery in axios CVSS 3.1HIGH 8.6
- TI-2026-65207 Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location CVSS 4.0HIGH 8.2
- TI-2026-65202 Axios: Denial of Service via Unhandled 'error' Event in HTTP/2 ClientHttp2Session Initialization CVSS 4.0HIGH 8.2
- TI-2026-65206 Axios: Node HTTP adapter prototype-pollution gadget allows request socket hijack via inherited createConnection CVSS 4.0HIGH 7.6
Sources
- CVE-2026-101904 · CVE Program
- CVE-2026-101904 · NVD
- FIRST EPSS
- GHSA-j8rh-479h-cp32 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-101904 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences