Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Unauthenticated network path traversal (PR:N/UI:N/AC:L); deletion of files outside the app crosses a security boundary (S:C) with high availability impact and no confidentiality loss.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
2DescriptionCVE.org
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in WP Swings Membership For WooCommerce membership-for-woocommerce allows Path Traversal.This issue affects Membership For WooCommerce: from n/a through <= 3.1.0.
Articles & Coverage 1
AnalysisAI
Arbitrary file deletion in WP Swings' Membership For WooCommerce WordPress plugin (all versions up to and including 3.1.0) lets remote attackers delete files outside the intended directory via unsanitized path input. The CVSS vector (PR:N) indicates the flaw is reachable without authentication, and the scope-changed rating reflects that deletion of critical files (e.g., wp-config.php) can break or reset the entire WordPress site. No public exploit has been identified at time of analysis; the issue was reported by Patchstack.
Technical ContextAI
The vulnerability is a classic CWE-22 Path Traversal in a WooCommerce membership extension. WooCommerce plugins frequently expose AJAX actions or file-handling endpoints that accept a filename or path parameter; when that parameter is not canonicalized or restricted to a whitelisted directory, an attacker can inject traversal sequences (../) to reference files anywhere on the filesystem the web server user can reach. Here the traversal is chained to a file-deletion operation, so the impact is destructive rather than informational. The single affected CPE is cpe:2.3:a:wp_swings:membership_for_woocommerce:*:*:*:*:*:*:*:*, i.e., the WP Swings 'membership-for-woocommerce' plugin, with no version lower bound published (n/a through 3.1.0).
RemediationAI
No vendor-released patched version is identified in the available data - the advisory lists impact only through 3.1.0 with no confirmed fixed release - so treat this as unpatched and monitor the Patchstack advisory (https://patchstack.com/database/Wordpress/Plugin/membership-for-woocommerce/vulnerability/wordpress-membership-for-woocommerce-plugin-3-1-0-arbitrary-file-deletion-vulnerability) and the plugin changelog for a release above 3.1.0, upgrading immediately when one appears. Until a fix exists, the most effective compensating control is to deactivate and remove the Membership For WooCommerce plugin (trade-off: membership features go offline); if it must stay active, deploy a WordPress WAF or Patchstack virtual patch and add web-server/WAF rules that block traversal sequences (../, encoded %2e%2e) and restrict access to the plugin's file-handling AJAX endpoints, and ensure the web-server user has least-privilege filesystem permissions so critical files like wp-config.php cannot be deleted (trade-off: overly strict rules may block legitimate file operations).
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-43364