CVE-2026-4031
Database Backup for WordPress <= 2.5.2 - Missing Authorization to Unauthenticated Database Backup Interception
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.57%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 41.2% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 14 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-862 Missing Authorization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Database Backup for WordPress |
affected up to and including 2.5.2
Other versions: unaffected
|
Is my server affected?
This CVE is in Database Backup for WordPress of wpengine, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/36615cae-418f-48b0-ba69-b54515cbe1d7?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/wp-db-backup/trunk/wp-db-backup.php#L121 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-db-backup/trunk/wp-db-backup.php#L85 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-db-backup/trunk/wp-db-backup.php#L961 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-db-backup/trunk/wp-db-backup.php#L1568 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-db-backup/tags/2.5.2/wp-db-backup.php#L121 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/changeset/3510595/ plugins.trac.wordpress.org
Source: the record CVE-2026-4031 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse