Radar sectionsDatabase
Check my site
WordPress plugin

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.2
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:H Privileges required
High
UI:N User interaction
None
S:U Scope
Unchanged
C:H Confidentiality
High
I:H Integrity
High
A:H Availability
High
Weakness
CWE-77 Improper Neutralization of Special Elements used in a Command
Required access
Unknown
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

WP Database Backup – Unlimited Database & Files Backup by Backup for WP wp-database-backup

  1. Affected≤ 7.11
  2. 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

  1. Update to version 7.12, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. 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

More in WP Database Backup – Unlimited Database & Files Backup by Backup for WP

All 14
More vulnerabilities in WP Database Backup – Unlimited Database & Files Backup by Backup for WP
SeverityVulnerabilityCVEPublished
High7.5Unauthenticated 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.5Authenticated (Admin+) Stored Cross-Site Scripting
≤5.8Update to 5.9
—
High7.5Unauthenticated Information Disclosure
≤5.5Update to 5.5.1
CVE-2020-7241
Critical9.8Unauthenticated OS Command Injection
<5.2Update to 5.2
CVE-2019-25224

Timeline

  1. CVE published

    Severity high, CVSS 7.2

  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.

How we use these sources

Search VulnCrest Radar

Are you sure?