CVE-2025-69202 Details
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.
A cache poisoning vulnerability has been identified in Axios Cache Interceptor versions prior to 1.11.1. This issue arises when a server calls an upstream service using different authentication tokens. The interceptor returns incorrect cached responses, leading to an authorization bypass. The vulnerability occurs because the cache key is generated solely from the URL, disregarding request headers like 'Authorization'. When the server responds with 'Vary: Authorization', indicating that the response varies by authentication token, the interceptor fails to account for this. As a result, all requests share the same cache, regardless of authorization. This vulnerability affects server-side applications that use Axios Cache Interceptor to cache requests to upstream services, handle requests from multiple users with different authentication tokens, and rely on 'Vary' headers to differentiate caches. In contrast, browser-based applications, which operate with a single user per session, are not impacted.
Upgrade to Axios Cache Interceptor version 1.11.1 or later. No code changes are required, as the protection is automatic.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/arthurfiorette/axios-cache-interceptor/security/advisories/GHSA-x4m5-4cw8-vc44 | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/arthurfiorette/axios-cache-interceptor/commit/49a808059dfc081b9cc23d48f243d55dfce15f01 | [email protected] | Patch |
| https://github.com/arthurfiorette/axios-cache-interceptor/security/advisories/GHSA-x4m5-4cw8-vc44 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
| CWE-524 | Use of Cache Containing Sensitive Information | [email protected] |
| CWE-573 | Improper Following of Specification by Caller | [email protected] |
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| axios-cache-interceptor axios cache interceptor | < 1.11.1 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Oct 1, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 5, 2026 | Initial Analysis | [email protected] |
| Dec 30, 2025 | CVE Modified | CISA-ADP |
| Dec 29, 2025 | New CVE Received | [email protected] |