HIGHCVE-2026-4031CVSS 7.5

CVE-2026-4031: Authorization Bypass in Database Backup for WordPress

Platform

wordpress

Component

wp-db-backup

Fixed in

2.5.3

CVE-2026-4031 describes an authorization bypass vulnerability affecting the Database Backup for WordPress plugin. An unauthenticated attacker can exploit this flaw to intercept database backup files, potentially gaining access to sensitive information. This vulnerability impacts versions of the plugin up to and including 2.5.2. A fix is available in version 2.5.3.

WordPress

Detect this CVE in your project

Upload your dependency file and we'll tell you instantly if this and other CVEs hit you.

Impact and Attack Scenarios

Successful exploitation of CVE-2026-4031 allows an attacker to intercept database backup files created by the plugin. These backups often contain sensitive data, including user credentials, database schemas, and application configuration details. By controlling the wpdbtemp_dir parameter, an attacker can dictate where these backups are written, choosing a publicly accessible location like the wp-content/uploads/ directory. The predictable naming convention of the backup files makes interception relatively straightforward. This could lead to complete compromise of a WordPress site and its associated data, similar to scenarios where attackers have exploited misconfigured file storage locations to steal sensitive information.

Exploitation Context

CVE-2026-4031 was published on May 13, 2026. Its severity is rated HIGH with a CVSS score of 7.5. There is currently no indication of this vulnerability being actively exploited in the wild, nor is it listed on KEV or EPSS. Public proof-of-concept (POC) code is not yet available, but the vulnerability's nature makes it relatively easy to exploit, increasing the likelihood of future exploitation if left unpatched.

Threat Intelligence

Exploit Status

Proof of ConceptUnknown
CISA KEVNO
Internet ExposureHigh

CVSS Vector

THREAT INTELLIGENCE· CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N7.5HIGHAttack VectorNetworkHow the attacker reaches the targetAttack ComplexityLowConditions required to exploitPrivileges RequiredNoneAuthentication level needed to attackUser InteractionNoneWhether a victim must take actionScopeUnchangedImpact beyond the vulnerable componentConfidentialityHighRisk of sensitive data exposureIntegrityNoneRisk of unauthorized data modificationAvailabilityNoneRisk of service disruptionnextguardhq.com · CVSS v3.1 Base Score
What do these metrics mean?
Attack Vector
Network — remotely exploitable over the internet. No physical or local access required. Widest attack surface.
Attack Complexity
Low — no special conditions required. Attacker can exploit reliably without depending on rare configurations or timing.
Privileges Required
None — unauthenticated. No login or credentials needed to exploit.
User Interaction
None — attack is automatic and silent. Victim does nothing: no click, no file open.
Scope
Unchanged — impact is limited to the vulnerable component itself.
Confidentiality
High — complete confidentiality loss. Attacker can read all data: credentials, keys, personal data.
Integrity
None — no integrity impact. Attacker cannot modify data.
Availability
None — no availability impact. Service remains fully operational.

Affected Software

Componentwp-db-backup
Vendorwordfence
Minimum version1.0.0
Maximum version2.5.2
Fixed in2.5.3

Weakness Classification (CWE)

Timeline

  1. Reserved
  2. Published

Mitigation and Workarounds

The primary mitigation for CVE-2026-4031 is to immediately upgrade the Database Backup for WordPress plugin to version 2.5.3 or later. If upgrading is not immediately feasible due to compatibility issues or breaking changes, consider restricting access to the wpdbtempdir directory. Implement strict file permissions, ensuring that only the webserver user has write access. Additionally, monitor the wp-content/uploads/ directory and other potential public locations for unexpected files with predictable naming patterns. While not a direct fix, a Web Application Firewall (WAF) could be configured to block requests containing suspicious values for the wpdbtempdir parameter. After upgrading, verify the fix by manually triggering a database backup and confirming that the backup file is not accessible from a web browser.

How to fix

Update to version 2.5.3, or a newer patched version

Frequently asked questions

What is CVE-2026-4031 — Authorization Bypass in Database Backup for WordPress?

CVE-2026-4031 is a HIGH severity vulnerability in the Database Backup for WordPress plugin that allows unauthenticated attackers to intercept database backups by manipulating the wpdbtemp_dir parameter, potentially exposing sensitive data.

Am I affected by CVE-2026-4031 in Database Backup for WordPress?

You are affected if you are using the Database Backup for WordPress plugin version 2.5.2 or earlier. Upgrade to version 2.5.3 to mitigate the risk.

How do I fix CVE-2026-4031 in Database Backup for WordPress?

The recommended fix is to upgrade the Database Backup for WordPress plugin to version 2.5.3 or later. If upgrading is not possible immediately, restrict access to the wpdbtemp_dir directory.

Is CVE-2026-4031 being actively exploited?

There is currently no evidence of CVE-2026-4031 being actively exploited in the wild, but the ease of exploitation suggests a potential risk if left unpatched.

Where can I find the official Database Backup for WordPress advisory for CVE-2026-4031?

Please refer to the official Database Backup for WordPress plugin website or WordPress.org plugin repository for the latest advisory and update information regarding CVE-2026-4031.

Is your project affected?

Upload your dependency file and we'll tell you instantly if this and other CVEs hit you.

WordPress

Detect this CVE in your project

Upload your dependency file and we'll tell you instantly if this and other CVEs hit you.

livefree scan

Scan your WordPress project now — no account

Upload any manifest (composer.lock, package-lock.json, WordPress plugin list…) or paste your component list. You get a vulnerability report instantly. Uploading a file is just the start: with an account you get continuous monitoring, Slack/email alerts, multi-project and white-label reports.

Manual scanSlack/email alertsContinuous monitoringWhite-label reports

Drag & drop your dependency file

composer.lock, package-lock.json, requirements.txt, Gemfile.lock, pubspec.lock, Dockerfile...