BackWPup <= 5.6.6 - Authenticated (Administrator+) Local File Inclusion via 'block_name' Parameter
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-6227
- 2026-10-03 Alias added: GHSA-6gj4-hcqg-pjc8
References
Other 6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/084e3f78-275b-4692-9cce-e17074f55cfb?source=cve
- https://plugins.trac.wordpress.org/browser/backwpup/tags/5.6.5/inc/Utils/BackWPupHelpers.php#L23
- https://plugins.trac.wordpress.org/browser/backwpup/trunk/inc/Utils/BackWPupHelpers.php#L23
- https://plugins.trac.wordpress.org/browser/backwpup/tags/5.6.5/inc/Utils/BackWPupHelpers.php#L40
- https://plugins.trac.wordpress.org/browser/backwpup/tags/5.6.5/src/Frontend/API/Rest.php#L52
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3490642%40backwpup%2Ftrunk&old=3475739%40backwpup%2Ftrunk&sfp_email=&sfph_mail=#file26
More WP Media vulnerabilities
- TI-2024-03858 Search & Replace < 3.2.2 - Admin+ SQL injection CVSS 3.1HIGH 7.2
- TI-2024-25993 WordPress Search & Replace plugin <= 3.2.2 - Deserialization of untrusted data vulnerability CVSS 3.1CRITICAL 9.8
- TI-2026-69868 Code injection in WordPress WP Rocket plugin CVSS 3.1HIGH 7.5
- TI-2023-05067 BackWPup <= 4.0.1 - Authenticated (Administrator+) Directory Traversal CVSS 3.1HIGH 8.7
- TI-2026-05204 Cross-site scripting in WP Rocket CVSS 3.1HIGH 7.2
- TI-2026-69877 Missing authorization in WordPress WP Rocket plugin CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-6227 · CVE Program
- CVE-2026-6227 · NVD
- FIRST EPSS
- GHSA-6gj4-hcqg-pjc8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences