Summary
CVE-2026-81789 is an unauthenticated arbitrary file deletion vulnerability in the Advanced Product Fields Extended for WooCommerce WordPress plugin, affecting all versions up to and including 3.1.6. The flaw stems from improper limitation of a pathname to a restricted directory (path traversal, CWE-22), allowing an attacker to delete arbitrary files on the server without any authentication or user interaction. The issue carries a CVSS v3.1 base score of 8.6 (High).
Technical details
- Root cause: The plugin fails to properly validate or sanitize file path input before using it in a file deletion operation, enabling directory traversal outside the intended plugin/upload directory.
- Trigger conditions: An attacker sends a crafted request containing traversal sequences to a vulnerable plugin endpoint on a WordPress site running the affected plugin.
- Attack vector: Network-based, requires no authentication (PR:N) and no user interaction (UI:N), with low attack complexity (AC:L).
- Impact: The vulnerability affects availability only (no confidentiality or integrity impact per the CVSS vector), allowing attackers to delete arbitrary files — which can disrupt site functionality, remove critical WordPress core/plugin files (e.g.,
wp-config.php), and potentially cause denial of service or facilitate further compromise.
Affected software
- Advanced Product Fields Extended for WooCommerce (WordPress plugin) — all versions up to and including 3.1.6
Severity
- CVSS v3.1 Base Score: 8.6 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: Upgrade Advanced Product Fields Extended for WooCommerce to a version newer than 3.1.6 as soon as a patched release is available from the plugin vendor.
- If no patch is available: Restrict or disable the affected plugin until a fix is released; deploy a web application firewall (WAF) rule to block path traversal sequences (e.g.,
../) targeting the plugin’s endpoints; monitor server logs for unauthenticated requests attempting directory traversal; ensure regular offline backups of the WordPress installation to enable recovery from file deletion.

