CVE-2026-16940

Custom Fields for WooCommerce < 1.5.1 - Unauthenticated Arbitrary File Deletion via Path Traversal

Published Aug 5, 2026 CVSS 3.1 · 10 Critical EPSS < 1% KEV · Not listed
Description
The Custom Fields WordPress plugin before 1.5.1 does not validate a user-supplied file path before deletion, allowing unauthenticated users to delete arbitrary files on the server (such as wp-config.php), which can lead to a full site takeover.

Analysis

AI-generated

Technical impact

The Custom Fields WordPress plugin, before version 1.5.1, fails to validate a user‑supplied file path before performing deletion. This flaw allows an unauthenticated attacker to delete any file on the web server (for example wp‑config.php) by supplying a crafted path. Removing critical configuration files can lead to a full site takeover, granting the attacker control over the WordPress installation and potentially the underlying server.

Affected Systems

Any WordPress site that has the Custom Fields plugin installed in a version earlier than 1.5.1 is affected. No vendor name is provided beyond the plugin identifier, and the flaw exists across all installations of the vulnerable plugin regardless of additional customizations.

Risk and Exploitability

Because the vulnerability can be triggered by unauthenticated HTTP requests and does not require any pre‑existing user privileges, the attack vector is straightforward. The inference that the likely attack vector is via unauthenticated HTTP requests is derived from the description. The CVSS score is 10, indicating the highest severity; the EPSS score is < 1% and the flaw is not listed in the CISA KEV catalog, but the lack of protection and high impact warrant immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Custom Fields plugin to version 1.5.1 or later.
  • If an upgrade is not immediately possible, disable or remove the plugin and delete all files associated with it.
  • Restrict file system permissions so that the web server user cannot delete arbitrary files, and review critical files such as wp-config.php for integrity.

Generated by OpenCVE AI on August 6, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions custom Fields
Vendors & Products Wordpress-extensions
Wordpress-extensions custom Fields
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-22
Type Values Removed Values Added
Description The Custom Fields WordPress plugin before 1.5.1 does not validate a user-supplied file path before deletion, allowing unauthenticated users to delete arbitrary files on the server (such as wp-config.php), which can lead to a full site takeover.
Title Custom Fields for WooCommerce < 1.5.1 - Unauthenticated Arbitrary File Deletion via Path Traversal
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Aug 6, 2026, 3:11 PM
Reserved
Jul 24, 2026, 7:48 AM
Status
Deferred
Published
Aug 5, 2026, 7:16 AM
Modified
Aug 26, 2026, 4:31 PM