Skip to main content

Database Backup for WordPress EUVDEUVD-2026-30274

| CVE-2026-4031 HIGH
Missing Authorization (CWE-862)
2026-05-14 Wordfence GHSA-7w7g-7m62-6985
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify target with vulnerable plugin
  2. Delivery
    Calculate backup schedule timing
  3. Exploit
    Send poisoned wp-cron.php request with malicious wp_db_temp_dir
  4. Install
    Wait for scheduled backup execution
  5. C2
    Calculate predictable backup filename
  6. Execute
    Retrieve database dump from public directory
  7. Impact
    Extract credentials and PII

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the WordPress site administrator to have enabled scheduled automated backups within the Database Backup for WordPress plugin settings - sites using only manual/on-demand backups are not vulnerable. Attacker must time malicious wp-cron.php requests to arrive before scheduled backup execution, requiring reconnaissance to determine backup schedule (typically discoverable through timing analysis of cron behavior or default configurations). The vulnerability enables remote unauthenticated exploitation against default plugin configurations when scheduled backups are active (CVSS PR:N confirms no authentication required). Exploitation is NOT limited by network access restrictions, user interaction requirements, or special deployment modes. The predictable backup filename format (database name + table prefix + date + Swatch Internet Time) is a limiting factor only in that attackers must correctly calculate these values, but all components are deterministic or discoverable through reconnaissance. WordPress sites without this specific plugin installed, or sites using the plugin exclusively for manual backups, are not affected.

Impact

CVSS 7.5 (High) reflects significant confidentiality impact with maximum attack surface exposure (network vector, low complexity, no privileges or interaction required). The vulnerability enables complete database exfiltration including authentication credentials and user data, but practical exploitation requires two preconditions: (1) administrator must have enabled scheduled backups, and (2) attacker must time requests to coincide with scheduled backup execution windows. This temporal constraint and configuration dependency reduce real-world exploitability compared to always-available RCE vulnerabilities. Without EPSS data, we cannot assess observed exploitation probability, but the publicly documented source code locations and detailed Wordfence analysis provide sufficient technical detail for exploit development. KEV status unknown - if not listed, suggests no confirmed mass exploitation despite high theoretical impact. The vulnerability is NOT remotely triggerable on-demand (requires waiting for scheduled cron), making automated scanning less effective than continuous configuration-aware attacks. Priority depends heavily on whether target sites use this plugin with scheduled backups enabled - defenders should verify actual deployment before prioritizing over vulnerabilities with lower configuration prerequisites.

Exploit ScenarioDerived

An unauthenticated attacker identifies a WordPress site running Database Backup for WordPress ≤2.5.2 with scheduled daily backups at 02:00 UTC. At 01:55 UTC, the attacker sends crafted POST requests to wp-cron.php with wp_db_temp_dir=/wp-content/uploads/temp/ to poison the backup destination. When the scheduled backup executes at 02:00, the plugin writes the database dump to the attacker-controlled public directory with a predictable filename (e.g., backup-wp_-mydatabase-20260515-@847.sql). The attacker calculates the Swatch Internet Time and retrieves the file at https://victim.com/wp-content/uploads/temp/backup-wp_-mydatabase-20260515-@847.sql before the cleanup routine executes, obtaining complete database contents including wp_users table with bcrypt password hashes, wp_options with SMTP credentials, and customer PII from WooCommerce tables. Publicly accessible source code references provide implementation details for reliable exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 14, 2026

Authorization bypass in Database Backup for WordPress plugin (≤2.5.2) enables unauthenticated attackers to redirect scheduled backup files to publicly accessible directories and retrieve them before cleanup. By poisoning the wp_db_temp_dir parameter via wp-cron.php, attackers can intercept database backups containing credentials, password hashes, and PII. Backup filenames follow predictable patterns (database name, table prefix, date, Swatch Internet Time), making interception reliable. Exploitation requires administrator-configured scheduled backups but no authentication or user interaction (CVSS AV:N/AC:L/PR:N/UI:N). EPSS and KEV data not provided; Wordfence-reported vulnerability with publicly accessible source code references enabling attack reproduction.

RemediationAI

Update Database Backup for WordPress plugin to version 2.5.3 or later, which implements authorization checks on the wp_db_temp_dir parameter per changeset 3510595 (https://plugins.trac.wordpress.org/changeset/3510595/). If immediate patching is not feasible, implement these compensating controls with noted trade-offs: (1) Disable scheduled backups via plugin settings and perform manual backups only during maintenance windows - eliminates attack window but reduces backup frequency and operational resilience; (2) Configure web server rules to block direct access to wp-cron.php from external IPs, allowing only internal/localhost requests - breaks legitimate external cron services and may require alternative scheduling mechanisms; (3) Implement Web Application Firewall rules to detect and block requests to wp-cron.php containing wp_db_temp_dir parameters - may generate false positives if legitimate plugin functionality uses this parameter. Long-term: transition to enterprise backup solutions with proper access controls rather than relying on plugins with historically weak authorization models.

Affected VersionsENISA

Database Backup for WordPress 0 ≤2.5.2

Affected Packages

euvd database_backup_for_wordpress no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in the Database Backup for WordPress plugin (cpe:2.3:a:wpengine:database_backup_for_wordpress), a PHP-based WordPress backup solution. The root cause is CWE-862 (Missing Authorization), where the plugin fails to validate the wp_db_temp_dir parameter that determines backup file storage locations. WordPress cron system (wp-cron.php) accepts external requests with arbitrary parameters, and this plugin trusts user-supplied paths without authentication checks. When scheduled backups execute, the plugin writes sensitive database dumps to attacker-controlled directories. The backup filename convention uses concatenated values (DB name + table prefix + timestamp in Swatch Internet Time format), creating a deterministic naming scheme. Source code references point to specific vulnerable functions in trunk/wp-db-backup.php lines 121, 85, 961, and 1568, with the fixed version implemented in changeset 3510595.

Know when Database Backup For Wordpress gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

CVE-2026-4031 is a critical authorization bypass in the Database Backup for WordPress plugin (versions ≤2.5.2) that allows unauthenticated attackers to intercept and download database backups containing credentials, password hashes, and sensitive customer data. Organizations using this plugin with scheduled backups face immediate risk of credential theft and data breach, affecting any WordPress site that relies on this backup mechanism for data protection.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable wp-cron.php and replace with server-side scheduled tasks with IP whitelisting; (2) Configure backup directories outside web root and restrict web server access via .htaccess or firewall rules; (3) Implement Web Application Firewall rules to block wp-cron.php access from untrusted sources; (4) Disable the Database Backup plugin immediately and use alternative backup solutions with authentication verification; (5) Monitor for suspicious wp-cron.php requests in access logs and implement alerting on backup directory access patterns.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% exploitable
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy