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 the /wp-json/backwpup/v1/getblock REST endpoint via the block_name parameter. This flaw allows authenticated users with Administrator-level access or higher to include arbitrary PHP files on the server by exploiting insufficient sanitization of traversal sequences. This can lead to reading 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 enable exploitation by those users. The vulnerability has a high severity score of 7. 2 and no official patch or remediation guidance has been provided yet.
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 non-recursive sanitization of the block_name parameter in the /wp-json/backwpup/v1/getblock REST endpoint, allowing crafted traversal sequences to bypass filters. Authenticated attackers with Administrator privileges can leverage this to include arbitrary PHP files on the server, potentially exposing sensitive configuration files or enabling remote code execution under certain conditions. Additionally, administrators can delegate backup permissions to other users, which may extend the risk to lower-privileged accounts. No patch or official remediation has been disclosed as of the published date.
Potential Impact
Successful exploitation allows an authenticated user with Administrator or delegated backup permissions to include arbitrary PHP files on the server, leading to disclosure of sensitive files such as wp-config.php and possible remote code execution depending on server setup. This compromises confidentiality, integrity, and availability of the affected WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative and backup handling permissions to trusted users only. Monitor for updates from the plugin vendor or WordPress security channels for an official patch or mitigation instructions.
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 the /wp-json/backwpup/v1/getblock REST endpoint via the block_name parameter. This flaw allows authenticated users with Administrator-level access or higher to include arbitrary PHP files on the server by exploiting insufficient sanitization of traversal sequences. This can lead to reading 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 enable exploitation by those users. The vulnerability has a high severity score of 7. 2 and no official patch or remediation guidance has been provided yet.
CVSS v3.1
Score 7.2high
Weaknesses
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 non-recursive sanitization of the block_name parameter in the /wp-json/backwpup/v1/getblock REST endpoint, allowing crafted traversal sequences to bypass filters. Authenticated attackers with Administrator privileges can leverage this to include arbitrary PHP files on the server, potentially exposing sensitive configuration files or enabling remote code execution under certain conditions. Additionally, administrators can delegate backup permissions to other users, which may extend the risk to lower-privileged accounts. No patch or official remediation has been disclosed as of the published date.
Potential Impact
Successful exploitation allows an authenticated user with Administrator or delegated backup permissions to include arbitrary PHP files on the server, leading to disclosure of sensitive files such as wp-config.php and possible remote code execution depending on server setup. This compromises confidentiality, integrity, and availability of the affected WordPress site.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative and backup handling permissions to trusted users only. Monitor for updates from the plugin vendor or WordPress security channels for an official patch or mitigation instructions.
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/21/2026, 6:28:07 AM
Last updated: 5/28/2026, 11:19:10 PM
Views: 82
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.