WP Database Backup <= 7.11 — Authenticated (Administrator+) OS Command Injection via 'wp_db_exclude_table' Parameter
CVE-2026-9834Published · Updated Action summary
Affected: ≤7.11Update to 7.12 or newer
All remediation steps- Severity
- High7.2
- CVSS
- 7.2CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HWhat does this vector mean?
AV:NAttack vector- Network
AC:LAttack complexity- Low
PR:HPrivileges required- High
UI:NUser interaction- None
S:UScope- Unchanged
C:HConfidentiality- High
I:HIntegrity- High
A:HAvailability- High
- Required access
- Unknown
- Exploit prediction (EPSS)
- No score
- CISA KEV
- Not listed
On this page8
Am I affected?
WP Database Backup – Unlimited Database & Files Backup by Backup for WP wp-database-backup
- Affected≤ 7.11
- Patched in7.12
Update to 7.12 or newer.
You are affected if you run ≤ 7.11. Version 7.12 and later are not affected by this issue.
- Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under WP Database Backup – Unlimited Database & Files Backup by Backup for WP.
- No admin access? Run a passive check of your site. It reads public files only.
What to do
- Update to version 7.12, or a newer patched version
- Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
- Watch WP Database Backup – Unlimited Database & Files Backup by Backup for WP to get an email when the next vulnerability is published.
Advisory
Source description from Wordfence Intelligence, credited to Irwan Kusuma.
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.
Exploits & references
Proof-of-concept & detection
No public proof-of-concept or detection template is known for this vulnerability.
Advisories & patches
- Advisorywordfence.com
Related CVEs
More in WP Database Backup – Unlimited Database & Files Backup by Backup for WP
All 14| Severity | Vulnerability | CVE | Published |
|---|---|---|---|
| High7.5 | Unauthenticated Database Back-Up Exposure ≤7.3Update to 7.4 | CVE-2024-12330 | |
| Medium5.5 | Authenticated (Admin+) Stored Cross-Site Scripting ≤5.8.3Update to 5.9 | CVE-2022-2271 | |
| Medium5.5 | Authenticated (Admin+) Stored Cross-Site Scripting ≤5.8Update to 5.9 | — | |
| High7.5 | Unauthenticated Information Disclosure ≤5.5Update to 5.5.1 | CVE-2020-7241 | |
| Critical9.8 | Unauthenticated OS Command Injection <5.2Update to 5.2 | CVE-2019-25224 |
- High7.5Unauthenticated Database Back-Up Exposure
≤7.3Update to 7.4
- Medium5.5Authenticated (Admin+) Stored Cross-Site Scripting
≤5.8.3Update to 5.9
- Medium5.5Authenticated (Admin+) Stored Cross-Site Scripting
≤5.8Update to 5.9
- High7.5Unauthenticated Information Disclosure
≤5.5Update to 5.5.1
- Critical9.8Unauthenticated OS Command Injection
<5.2Update to 5.2
Timeline
CVE published
Severity high, CVSS 7.2
Record last updated
Sources & licenses
Wordfence record- Vulnerability data
- Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
- CVE® identifiers
- Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
- CVSS / CWE
- National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
- VulnCrest content
- Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.
