Summary
CVE-2026-16940 is a critical unauthenticated arbitrary file deletion vulnerability in the Custom Fields WordPress plugin in all versions before 1.5.1. The plugin fails to validate a user-supplied file path before deletion, allowing unauthenticated attackers to delete arbitrary files on the server (such as wp-config.php), which can lead to a full site takeover. It carries a maximum CVSS v3.1 base score of 10.0 (Critical).
Technical details
- Root cause: The plugin does not validate a user-supplied file path before performing a file deletion operation (CWE-22, Improper Limitation of a Pathname to a Restricted Directory / Path Traversal).
- Trigger conditions: An unauthenticated attacker supplies a crafted file path to the vulnerable deletion functionality; no authentication, privileges, or user interaction are required.
- Attack vector: Network (remote, low complexity).
- Impact: Deletion of arbitrary files on the server, including critical files such as
wp-config.php. Removing such files can lead to full site takeover, with high impact to integrity and availability.
Affected software
- Custom Fields WordPress plugin — all versions before 1.5.1.
Severity
- CVSS v3.1 base score: 10.0 (Critical)
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H
Mitigation and recommended actions
- Immediate: Update the Custom Fields WordPress plugin to version 1.5.1 or later.
- If no patch can be applied: Deactivate and remove the plugin until it can be updated. Restrict network access to the affected WordPress site (for example, with a web application firewall rule blocking requests to the vulnerable endpoint) and monitor for unexpected deletion of core files such as
wp-config.php.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw HTTP response body:
/wp-content/plugins/addify-custom-fields-for-woocommerce/

