CVE-2025-69202
published medium CVSS 4.0 · 6.0axios-cache-interceptor Vulnerable to Cache Poisoning via Ignored HTTP Vary Header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| arthurfiorette | — | axios-cache-interceptor< 1.11.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:L/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| arthurfiorette | axios-cache-interceptor | < 1.11.1 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-524 CWE-524: Use of Cache Containing Sensitive Information
- CWE-573 CWE-573: Improper Following of Specification by Caller
- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
2Provider assertions
2GitHub_M · cna
axios-cache-interceptor Vulnerable to Cache Poisoning via Ignored HTTP Vary Header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7bb852bb5fd21769bf64852ed6e0b0e74c1ddc68195639386188f774f67e0b1e
- Ingested
- 23 Sep 2026, 08:57:29 UTC
- Source record
- Official CVE record