# CVE-2026-9834: WP Database Backup \<= 7.11 - Authenticated (Administrator+) OS Command Injection via 'wp\_db\_exclude\_table' Parameter

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 2.65% (percentile 86, 2026-11-26)
- **CWE:** CWE-77
- **Published:** 2026-07-02T08:33:05.373Z
- **Modified:** 2026-07-02T13:58:56.870Z

## Who should check

- Anyone running databasebackup WP Database Backup – Unlimited Database & Files Backup by Backup for WP \<= 7.11

## Description

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.

## Affected and fixed versions

- databasebackup WP Database Backup – Unlimited Database & Files Backup by Backup for WP: \<= 7.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-9834. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-9834.md
Affected: databasebackup WP Database Backup – Unlimited Database & Files Backup by Backup for WP <= 7.11
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for databasebackup WP Database Backup – Unlimited Database & Files Backup by Backup for WP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-9834 being exploited?

There is no confirmed exploitation: CVE-2026-9834 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.65% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-9834?

High: CVSS 7.2 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-9834?

databasebackup WP Database Backup – Unlimited Database & Files Backup by Backup for WP \<= 7.11.

### Is there a fix for CVE-2026-9834?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-9834?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/0a97a217-b00b-4268-a472-8d62ae1d18e3?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/wp-database-backup/tags/7.11/includes/admin/class-wpdb-admin.php#L2644>
- other: <https://plugins.trac.wordpress.org/browser/wp-database-backup/tags/7.11/includes/admin/class-wpdb-admin.php#L2654>
- other: <https://plugins.trac.wordpress.org/browser/wp-database-backup/tags/7.11/includes/admin/class-wpdb-admin.php#L216>
- other: <https://plugins.trac.wordpress.org/browser/wp-database-backup/tags/7.10/includes/admin/class-wpdb-admin.php#L2644>
- other: <https://plugins.trac.wordpress.org/browser/wp-database-backup/tags/7.10/includes/admin/class-wpdb-admin.php#L2654>
- other: <https://plugins.trac.wordpress.org/browser/wp-database-backup/tags/7.10/includes/admin/class-wpdb-admin.php#L216>
- other: <https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3574273%40wp-database-backup&new=3574273%40wp-database-backup&sfp_email=&sfph_mail=>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-9834>

HTML: <https://flawdb.com/CVE-2026-9834> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-9834>
