CVE-2026-6227: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in wp_media BackWPup – WordPress Backup & Restore Plugin
The BackWPup WordPress plugin up to version 5. 6. 6 contains a path traversal vulnerability in its REST API endpoint `/wp-json/backwpup/v1/getblock` via the `block_name` parameter. This flaw allows authenticated users with Administrator-level privileges or higher to include arbitrary PHP files on the server by exploiting insufficient sanitization of path traversal sequences. This can lead to disclosure of sensitive files like `wp-config. php` or potentially remote code execution depending on server configuration. Permissions granted to lower-level users to handle backups may also expose them to exploitation. The vulnerability has a high severity score of 7. 2 but no confirmed public exploits or official patches are currently documented.
AI Analysis
Technical Summary
CVE-2026-6227 is a path traversal vulnerability (CWE-22) in the BackWPup WordPress Backup & Restore Plugin affecting all versions up to 5.6.6. The issue arises from inadequate sanitization of the `block_name` parameter in the `/wp-json/backwpup/v1/getblock` REST endpoint, where a non-recursive `str_replace()` fails to fully remove traversal sequences. Authenticated users with Administrator privileges can leverage this to include arbitrary PHP files on the server, potentially reading sensitive configuration files or achieving remote code execution depending on environment specifics. Additionally, administrators can delegate backup permissions to lower-privileged users, which may increase the attack surface. No official patch or remediation guidance is currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows authenticated users with Administrator-level access or delegated backup permissions to perform local file inclusion via crafted path traversal sequences. This can lead to disclosure of sensitive files such as `wp-config.php` and may enable remote code execution depending on server configuration. The vulnerability compromises confidentiality, integrity, and availability of the affected system, reflected in a CVSS v3.1 score of 7.2 (high severity). There are no known public exploits at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative and backup handling permissions strictly to trusted users. Monitor for updates from the plugin vendor or WordPress security channels and apply patches promptly once available. Avoid exposing the REST endpoint unnecessarily and consider additional access controls or web application firewall rules to limit exploitation opportunities.
CVE-2026-6227: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in wp_media BackWPup – WordPress Backup & Restore Plugin
Description
The BackWPup WordPress plugin up to version 5. 6. 6 contains a path traversal vulnerability in its REST API endpoint `/wp-json/backwpup/v1/getblock` via the `block_name` parameter. This flaw allows authenticated users with Administrator-level privileges or higher to include arbitrary PHP files on the server by exploiting insufficient sanitization of path traversal sequences. This can lead to disclosure of sensitive files like `wp-config. php` or potentially remote code execution depending on server configuration. Permissions granted to lower-level users to handle backups may also expose them to exploitation. The vulnerability has a high severity score of 7. 2 but no confirmed public exploits or official patches are currently documented.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6227 is a path traversal vulnerability (CWE-22) in the BackWPup WordPress Backup & Restore Plugin affecting all versions up to 5.6.6. The issue arises from inadequate sanitization of the `block_name` parameter in the `/wp-json/backwpup/v1/getblock` REST endpoint, where a non-recursive `str_replace()` fails to fully remove traversal sequences. Authenticated users with Administrator privileges can leverage this to include arbitrary PHP files on the server, potentially reading sensitive configuration files or achieving remote code execution depending on environment specifics. Additionally, administrators can delegate backup permissions to lower-privileged users, which may increase the attack surface. No official patch or remediation guidance is currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows authenticated users with Administrator-level access or delegated backup permissions to perform local file inclusion via crafted path traversal sequences. This can lead to disclosure of sensitive files such as `wp-config.php` and may enable remote code execution depending on server configuration. The vulnerability compromises confidentiality, integrity, and availability of the affected system, reflected in a CVSS v3.1 score of 7.2 (high severity). There are no known public exploits at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict administrative and backup handling permissions strictly to trusted users. Monitor for updates from the plugin vendor or WordPress security channels and apply patches promptly once available. Avoid exposing the REST endpoint unnecessarily and consider additional access controls or web application firewall rules to limit exploitation opportunities.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-13T14:12:51.165Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69ddaa9d82d89c981fae6a45
Added to database: 4/14/2026, 2:46:53 AM
Last enriched: 4/14/2026, 3:01:58 AM
Last updated: 4/14/2026, 6:35:50 AM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.