High severity · published Apr 14, 2026
CVE-2026-6227
BackWPup <= 5.6.6 - Authenticated (Administrator+) Local File Inclusion via 'block_name' Parameter
7.2
CVSS
1.3%
EPSS
No
On KEV
Description
The BackWPup plugin for WordPress is vulnerable to Local File Inclusion via the `block_name` parameter of the `/wp-json/backwpup/v1/getblock` REST endpoint in all versions up to, and including, 5.6.6 due to a non-recursive `str_replace()` sanitization of path traversal sequences. This makes it possible for authenticated attackers, with Administrator-level access and above, to include arbitrary PHP files on the server via crafted traversal sequences (e.g., `....//`), which can be leveraged to read sensitive files such as `wp-config.php` or achieve remote code execution in certain configurations. Administrators have the ability to grant individual users permission to handle backups, which may then allow lower-level users to exploit this vulnerability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 71% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BW
BackWPup – WordPress Backup & Restore Plugin · wp_media
through 5.6.6 · source: vendor
Affected product
BW
BackWPup – WordPress Backup & Restore Plugin
wp_media
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-6227
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-6227
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/backwpup/tags/5.6.5/inc/Utils/BackWPupHelpers.php#L23
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/backwpup/tags/5.6.5/inc/Utils/BackWPupHelpers.php#L40
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/backwpup/tags/5.6.5/src/Frontend/API/Rest.php#L52
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/browser/backwpup/trunk/inc/Utils/BackWPupHelpers.php#L23
plugins.trac.wordpress.org
https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3490642%40backwpup%2Ftrunk&old=3475739%40backwpup%2Ftrunk&sfp_email=&sfph_mail=#file26
www.wordfence.com
https://www.wordfence.com/threat-intel/vulnerabilities/id/084e3f78-275b-4692-9cce-e17074f55cfb?source=cve
More from BackWPup – WordPress Backup & Restore Plugin
8.7
CVE-2023-5504
BackWPup <= 4.0.1 - Authenticated (Administrator+) Directory Traversal
7.2
CVE-2025-15041
BackWPup <= 5.6.2 - Authenticated (BackWPup Helper+) Privilege Escalation via Arbitrary Options Update
6.8
CVE-2023-5505
BackWPup <= 4.0.1 - Authenticated (Administrator+) Directory Traversal
5.3
CVE-2025-10579
BackWPup <= 5.5.0 - Missing Authorization to Sensitive Information Exposure
2.7
CVE-2023-5775
BackWPup <= 4.0.2 - Plaintext Storage of Backup Destination Password
