CVE-2026-6227

HIGH

BackWPup <= 5.6.6 - Authenticated (Administrator+) Local File Inclusion via 'block_name' Parameter

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-6227. PoCs published by Pixel-DefaultBR.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2026-6227, an authenticated Local File Inclusion (LFI) vulnerability in the BackWPup WordPress plugin. It includes root cause analysis, exploit preconditions, and a proof-of-concept scenario with an example HTTP request.

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.

Exploits (1)

nomisec WRITEUP
by Pixel-DefaultBR · poc
https://github.com/Pixel-DefaultBR/CVE-2026-6227

This repository provides a detailed technical analysis of CVE-2026-6227, an authenticated Local File Inclusion (LFI) vulnerability in the BackWPup WordPress plugin. It includes root cause analysis, exploit preconditions, and a proof-of-concept scenario with an example HTTP request.

Classification
Writeup 100%
Attack Type
Info Leak
Complexity
Moderate
Reliability
Reliable
Target: BackWPup WordPress plugin <= 5.6.6
Auth required
Prerequisites: Valid authenticated WordPress session · Valid REST nonce · Administrator privileges or delegated backup permissions
devstral-2 · analyzed Apr 28, 2026 Full analysis →

Scores

CVSS v3 7.2
EPSS 0.0131
EPSS Percentile 66.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (1)
wp_media/BackWPup – WordPress Backup & Restore Plugin < 5.6.6
Published Apr 14, 2026
Tracked Since Apr 14, 2026