---
title: "CWE-530: Exposure of Backup File to an Unauthorized Control Sphere"
url: https://radicalnotion.ai/cwe/cwe-530
type: cwe
description: "A backup file is stored in a directory or archive that is made accessible to unauthorized actors."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-530: Exposure of Backup File to an Unauthorized Control Sphere

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

## Description

A backup file is stored in a directory or archive that is made accessible to unauthorized actors.

## Background

Often, backup files are renamed with an extension such as .~bk or .BAK to distinguish them from production files.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Operation | OMISSION: This weakness is caused by missing a security tactic during the architecture and design phase. |

## Applicable platforms

**Technologies:** Web Server (Undetermined)

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Confidentiality | Read Application Data | At a minimum, an attacker who retrieves this file would have all the information contained in it, whether that be database calls, the format of parameters accepted by the application, or simply information regarding the architectural structure of your site. The source code for old files that were renamed in this manner and left in the webroot can often be retrieved. |

## Potential mitigations

### Policy

Recommendations include implementing a security policy within your organization that prohibits backing up web application source code in the webroot.

## 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-7315 | Chain: WordPress plugin does not use sufficient randomness when generating the filename for a backup (CWE-340), allowing attackers to obtain backup files (CWE-530) |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-56462 | IBM QRadar SIEM is vulnerable to using components with known vulnerabilities | high | 8.8 | - | No | 2026-05-27 |
| CVE-2020-36899 | QiHang Media Web Digital Signage 3.0.9 Unauthenticated Arbitrary File Disclosure | high | 8.7 | - | No | 2025-12-10 |
| CVE-2014-125136 | C97net qEngine CMS through 6.0.0, Kemana Directory through 1.5.6, Cart Engine through 3.0.0 Database Backup Exposure via /admin/backup | high | 8.2 | - | No | 2026-10-28 |
| CVE-2024-12330 | WP Database Backup – Unlimited Database & Files Backup by Backup for WP \<= 7.3 - Unauthenticated Database Back-Up Exposure | high | 7.5 | - | No | 2025-01-09 |
| CVE-2024-7315 | Migration, Backup, Staging – WPvivid \< 0.9.106 - Unauthenticated Sensitive Data Exposure | high | 7.5 | - | No | 2024-10-02 |
| CVE-2023-5297 | Xinhu RockOA start backup | high | 7.5 | - | No | 2023-09-29 |
| CVE-2024-2364 | Musicshelf Backup androidmanifest.xml backup | medium | 4.6 | - | No | 2024-03-10 |
| CVE-2026-13514 | Chess Play and Learn App com.chess AndroidManifest.xml backup | low | 2.4 | - | No | 2026-06-28 |
| CVE-2024-3430 | QKSMS Backup File androidmanifest.xml backup | low | 2.4 | - | No | 2024-04-07 |
| CVE-2024-3128 | Replify-Messenger Backup File androidmanifest.xml backup | low | 2.4 | - | No | 2024-04-01 |
| CVE-2024-3124 | fridgecow smartalarm Backup File androidmanifest.xml backup | low | 2.4 | - | No | 2024-04-01 |
| CVE-2026-2974 | AliasVault App Backup aliasvault.xml backup | low | 2.0 | - | No | 2026-02-23 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-552](https://radicalnotion.ai/cwe/cwe-552) | Files or Directories Accessible to External Parties |

## Frequently asked questions

### What is CWE-530?

A backup file is stored in a directory or archive that is made accessible to unauthorized actors.

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

14 recorded CVEs are attributed to CWE-530, including CVE-2024-56462, CVE-2020-36899 and CVE-2014-125136.

### How do you prevent CWE-530?

Recommendations include implementing a security policy within your organization that prohibits backing up web application source code in the webroot.

### How is CWE-530 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-530?

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

### Is CWE-530 actively exploited?

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

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

---

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