CVE-2026-4031 Details
Description
The Database Backup for WordPress plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 2.5.2. This is due to the plugin not restricting access to the wp_db_temp_dir parameter, which controls where database backups are written. This makes it possible for unauthenticated attackers to send a request to wp-cron.php with a poisoned wp_db_temp_dir value pointing to a publicly accessible directory (e.g., wp-content/uploads/), and if a scheduled backup is due, intercept the backup file before it is cleaned up. The backup file has a predictable name based on the database name, table prefix, date, and Swatch Internet Time, making interception reliable. Successful exploitation leads to Sensitive Information Exposure including database credentials, user password hashes, and personally identifiable information. This vulnerability requires that the site administrator has configured scheduled backups.
A vulnerability exists in the Database Backup for WordPress plugin, specifically in versions through 2.5.2. The issue stems from the plugin's failure to properly restrict access to the 'wp_db_temp_dir' parameter, which determines where database backups are stored. This oversight allows unauthenticated attackers to send requests to 'wp-cron.php' with a manipulated 'wp_db_temp_dir' value that points to a publicly accessible directory, such as 'wp-content/uploads/'. If a scheduled backup is due, the attacker can intercept the backup file before it is deleted. The backup file's name is predictable, based on the database name, table prefix, date, and Swatch Internet Time, making it easy to capture. Exploiting this vulnerability could lead to the exposure of sensitive information, including database credentials, user password hashes, and personally identifiable information. The vulnerability requires that the site administrator has set up scheduled backups.
Users are advised to update the Database Backup for WordPress plugin to version 2.5.3 or later.
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.
Volerion
Assessed May 14, 2026CISA-ADP
Assessed May 14, 2026References 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Delicious Brains Database Backup | <= 2.5.2 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 14, 2026 | New CVE Received | [email protected] |
Volerion