Skip to main content

PHP EUVDEUVD-2026-22201

| CVE-2026-6227 HIGH
Path Traversal (CWE-22)
2026-04-14 Wordfence GHSA-6gj4-hcqg-pjc8
7.2
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain admin credentials
  2. Delivery
    Send crafted REST request with nested traversal
  3. Exploit
    Bypass sanitization filter
  4. Execution
    Include sensitive PHP file
  5. Persist
    Extract credentials or execute code
  6. Impact
    Achieve persistent access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires BackWPup plugin versions up to 5.6.6 installed on WordPress. Attacker must be authenticated with Administrator-level access or above. Exploits /wp-json/backwpup/v1/getblock REST endpoint via crafted traversal sequences in block_name parameter to include arbitrary PHP files.

Impact

Real-world risk is moderate despite the 7.2 CVSS score. The CVSS vector (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) indicates network-accessible exploitation with low complexity but requires high privileges (administrator access), significantly limiting the initial attacker pool. However, the plugin's design allows administrators to delegate backup permissions to lower-privileged users, which could expand exploitability in multi-user WordPress environments. No EPSS data provided, but the requirement for authenticated admin access typically correlates with lower real-world exploitation probability compared to unauthenticated flaws. No CISA KEV listing indicates absence of confirmed active exploitation. No public proof-of-concept identified at time of analysis. The technical impact is severe (reading wp-config.php exposes database credentials; RCE possible in permissive server configurations), but the privilege barrier and lack of observed exploitation activity suggest this is not an immediate mass-exploitation threat. Priority should focus on WordPress installations with multiple administrator-level users or delegated backup permissions, where the privilege requirement becomes less protective.

Exploit ScenarioDerived

An authenticated attacker with WordPress administrator credentials accesses the vulnerable REST API endpoint /wp-json/backwpup/v1/getblock and submits a crafted request with the block_name parameter set to a double-encoded path traversal sequence such as ....//....//....//wp-config.php. The non-recursive sanitization function removes one layer of ../ patterns, leaving valid traversal sequences that resolve to /wp-config.php. The application includes and potentially executes this PHP file, exposing database credentials, authentication salts, and other sensitive configuration data. In configurations where user-supplied file paths are passed to include() or require() functions with insufficient validation, the attacker could chain this with file upload capabilities to achieve remote code execution by including a previously uploaded malicious PHP file from the uploads directory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 14, 2026

Local file inclusion in BackWPup WordPress plugin versions ≤5.6.6 allows authenticated administrators to read sensitive configuration files or achieve remote code execution via path traversal bypass in the /wp-json/backwpup/v1/getblock REST endpoint. The vulnerability stems from insufficient sanitization using non-recursive str_replace(), enabling crafted sequences like ....// to bypass filtering. While requiring high privileges (PR:H), the plugin's permission delegation feature allows administrators to grant backup management rights to lower-privileged users, expanding the attack surface. No public exploit or active exploitation (CISA KEV) confirmed at time of analysis, though CVSS 7.2 reflects high confidentiality, integrity, and availability impact.

RemediationAI

Upgrade to BackWPup plugin version 5.6.7 or later, which addresses the path traversal vulnerability through improved recursive sanitization logic as documented in the WordPress plugin repository changeset at https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3490642%40backwpup%2Ftrunk&old=3475739%40backwpup%2Ftrunk&sfp_email=&sfph_mail=#file26. The patch modifies inc/Utils/BackWPupHelpers.php to implement recursive or more robust path traversal filtering that cannot be bypassed with nested sequences. WordPress administrators should update via the WordPress admin dashboard under Plugins > Updates, or manually download from the official WordPress plugin repository. As an interim mitigation if patching is delayed, restrict administrator-level access and revoke any delegated backup permissions granted to lower-privileged users through the plugin's permission system. Review WordPress user roles and ensure the principle of least privilege is enforced. Conduct post-patch review of server logs for suspicious REST API requests to /wp-json/backwpup/v1/getblock with traversal patterns to identify potential prior exploitation attempts.

Affected VersionsENISA

BackWPup – WordPress Backup & Restore Plugin 0 ≤5.6.6

Affected Packages

euvd backwpup_wordpress_backup_restore_plugin no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability affects the BackWPup WordPress Backup & Restore Plugin (cpe:2.3:a:wp_media:backwpup_-_wordpress_backup_&_restore_plugin) through version 5.6.6. The flaw resides in the REST API endpoint handler at src/Frontend/API/Rest.php (line 52) and path sanitization logic in inc/Utils/BackWPupHelpers.php (lines 23, 40). The root cause (CWE-22: Improper Limitation of a Pathname to a Restricted Directory) occurs because the sanitization function uses str_replace() in a non-recursive manner to remove directory traversal sequences. Attackers can bypass this by using double-encoded or nested sequences such as ....// which, after single-pass sanitization removing ../, resolve back to valid traversal patterns ../. This allows arbitrary file path construction in the block_name parameter, enabling PHP file inclusion attacks against the WordPress installation's filesystem. The REST API architecture in WordPress exposes this endpoint to authenticated HTTP requests without sufficient input validation depth.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

BackWPup WordPress plugin versions 5.6.6 and earlier contain a local file inclusion vulnerability in the REST API that allows authenticated administrators to read sensitive files or execute arbitrary code through path traversal. This poses significant risk to WordPress sites relying on this backup plugin, as compromised admin accounts or delegated backup users could expose database credentials, configuration secrets, and achieve site takeover without requiring external network access.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or uninstall BackWPup until patched if feasible; (2) Restrict /wp-json/backwpup/v1/getblock endpoint via WAF rules or reverse proxy; (3) Enforce IP allowlisting for REST API access; (4) Disable admin delegation of backup management permissions; (5) Implement file integrity monitoring on wp-config.php and other sensitive configuration files to detect unauthorized access attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 46% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy