axios-cache-interceptor Vulnerable to Cache Poisoning via Ignored HTTP Vary Header
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-639.
Summary
Axios Cache Interceptor is a cache interceptor for axios. Prior to version 1.11.1, when a server calls an upstream service using different auth tokens, axios-cache-interceptor returns incorrect cached responses, leading to authorization bypass. The cache key is generated only from the URL, ignoring request headers like `Authorization`. When the server responds with `Vary: Authorization` (indicating the response varies by auth token), the library ignores this, causing all requests to share the same cache regardless of authorization. Server-side applications (APIs, proxies, backend services) that use axios-cache-interceptor to cache requests to upstream services, handle requests from multiple users with different auth tokens, and upstream services replies on `Vary` to differentiate caches are affected. Browser/client-side applications (single user per browser session) are not affected. Services using different auth tokens to call upstream services will return incorrect cached data, bypassing authorization checks and leaking user data across different authenticated sessions. After `v1.11.1`, automatic `Vary` header support is now enabled by default. When server responds with `Vary: Authorization`, cache keys now include the authorization header value. Each user gets their own cache.
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 |
|---|---|---|---|---|---|
| arthurfiorette | axios-cache-interceptor | before 1.11.1 | 1.11.1 | Patch available | CNA |
| — | axios-cache-interceptor (npm) | before 1.11.1 | 1.11.1 | Patch available | GHSA-x4m5-4cw8-vc44 |
- axios-cache-interceptor Vendorarthurfiorette Affected before 1.11.1 Fixed in 1.11.1 Patch available CNA
- axios-cache-interceptor (npm) Vendor— Affected before 1.11.1 Fixed in 1.11.1 Patch available GHSA-x4m5-4cw8-vc44
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:axios-cache-interceptor:axios_cache_interceptor:*:*:*:*:*:node.js:*:* | before 1.11.1 | Vulnerable | Axios-cache-interceptor |
- cpe:2.3:a:axios-cache-interceptor:axios_cache_interceptor:*:*:*:*:*:node.js:*:* Versions before 1.11.1 Vulnerable ·Axios-cache-interceptor
Remediation
- Fix · CNA axios-cache-interceptor (arthurfiorette) Fixed in 1.11.1
- Fix · GHSA-x4m5-4cw8-vc44 axios-cache-interceptor (npm) Fixed in 1.11.1 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-69202
- 2026-10-03 Alias added: GHSA-x4m5-4cw8-vc44
References
Exploit 1
Sources
- CVE-2025-69202 · CVE Program
- CVE-2025-69202 · NVD
- FIRST EPSS
- GHSA-x4m5-4cw8-vc44 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-69202 · 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