---
title: "CWE-524: Use of Cache Containing Sensitive Information"
url: https://radicalnotion.ai/cwe/cwe-524
type: cwe
description: "The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-524: Use of Cache Containing Sensitive Information

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **CVEs with this as primary weakness:** 90
- **Of those, in CISA KEV:** 0
- **New in 2026:** 61
- **CWE catalog version:** 4.21

## Description

The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.

## Background

A cache maintains a pool of objects, threads, connections, pages, financial data, passwords, or other resources to minimize the time it takes to initialize and access these resources.

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | If the cache is accessible to unauthorized actors, attackers can read the cache and obtain this sensitive information. |

## Potential mitigations

### Architecture and Design

Protect information stored in cache.

### Architecture and Design

Do not store unnecessarily sensitive information in the cache.

### Architecture and Design

Consider using encryption in the cache.

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2024-30127 | Product does not set the "no-cache" option in the HTTP Cache-Control header, allowing sensitive information to be cached |

## Real CVEs with this weakness (sample of 12 of 90)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-53943 | Ghost: Cache-poisoning XSS in Ghost frontend via x-ghost-preview header | critical | 9.6 | - | No | 2026-06-24 |
| CVE-2026-19202 | Token Cache Reuse in mcp-toolbox-sdk-python | critical | 9.1 | - | No | 2026-09-22 |
| CVE-2026-89932 | KVM: nVMX: Always flush vpid02 on first use | high | 8.8 | - | No | 2026-09-16 |
| CVE-2026-53057 | iommu/riscv: Add IOTINVAL after updating DDT/PDT entries | high | 8.8 | - | No | 2026-06-24 |
| CVE-2026-92545 | - | high | 8.7 | - | No | 2026-11-10 |
| CVE-2026-93748 | http-cache-semantics through 4.2.0 Cross-User Cache Disclosure via max-stale | high | 8.7 | - | No | 2026-09-18 |
| CVE-2026-61836 | Directus: Authorization-dependent response served from unsegmented cache key | high | 8.6 | - | No | 2026-07-15 |
| CVE-2026-92442 | - | high | 8.3 | - | No | 2026-11-10 |
| CVE-2024-45596 | Directus's session is cached for OpenID and OAuth2 if \`redirect\` is not used | high | 8.3 | - | No | 2024-09-10 |
| CVE-2026-123041 | - | high | 8.2 | - | No | 2026-11-10 |
| CVE-2026-92443 | - | high | 8.2 | - | No | 2026-11-10 |
| CVE-2026-50170 | Angular: Information Leak via Default Caching of Credentialed Requests in HttpTransferCache | high | 8.2 | - | No | 2026-06-22 |

## Related attack patterns (CAPEC)

- [CAPEC-204](https://radicalnotion.ai/capec/capec-204): Lifting Sensitive Data Embedded in Cache

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-668](https://radicalnotion.ai/cwe/cwe-668) | Exposure of Resource to Wrong Sphere |
| Child | [CWE-525](https://radicalnotion.ai/cwe/cwe-525) | Use of Web Browser Cache Containing Sensitive Information |

## Frequently asked questions

### What is CWE-524?

The code uses a cache that contains sensitive information, but the cache can be read by an actor outside of the intended control sphere.

### What CVEs are caused by CWE-524?

90 recorded CVEs are attributed to CWE-524, including CVE-2026-53943, CVE-2026-19202 and CVE-2026-89932.

### How do you prevent CWE-524?

Protect information stored in cache.

### How is CWE-524 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

### What are the consequences of CWE-524?

Exploiting CWE-524 can lead to: Read Application Data.

### Is CWE-524 actively exploited?

90 recorded CVEs are caused by CWE-524; none are currently in CISA's KEV catalog of actively exploited flaws.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/524.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-524). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
