Axios: ReDoS (O(N²)) in shouldBypassProxy host normalization, reachable via untrusted redirect Location
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
Axios is a promise-based HTTP client for the browser and Node.js. From 1.15.0 until 1.20.0, Axios shouldBypassProxy applies a quadratic trailing-dot regular expression to redirect hostnames. HTTP_PROXY or HTTPS_PROXY is configured, NO_PROXY or no_proxy is non-empty, redirects are followed, and a crafted redirect Location contains many dots followed by a non-dot character. Hostname.replace(/.+$/, '') backtracks quadratically while processing the crafted redirect hostname. Synchronous regular-expression processing can block the Node.js event loop and cause denial of service. 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
- Yes
- 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.15.0 to before 1.20.0 | 1.20.0 | Patch available | CNA |
| — | axios (npm) | 1.15.0 to before 1.20.0 | 1.20.0 | Patch available | GHSA-mghh-pgcx-3jjj |
- axios Vendoraxios Affected 1.15.0 to before 1.20.0 Fixed in 1.20.0 Patch available CNA
- axios (npm) Vendor— Affected 1.15.0 to before 1.20.0 Fixed in 1.20.0 Patch available GHSA-mghh-pgcx-3jjj
Remediation
- Fix · CNA axios (axios) Fixed in 1.20.0
- Fix · GHSA-mghh-pgcx-3jjj 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: Important. 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-101906
- 2026-10-03 Alias added: GHSA-mghh-pgcx-3jjj
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-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
- TI-2026-30578 Axios: Prototype pollution read-side gadgets in HTTP adapter allow credential injection and request hijacking CVSS 3.1CRITICAL 9.1
Sources
- CVE-2026-101906 · CVE Program
- CVE-2026-101906 · NVD
- FIRST EPSS
- GHSA-mghh-pgcx-3jjj · GitHub Advisory Database · CC BY 4.0
- CVE-2026-101906 · 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