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.
Published: 2026-08-05
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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. While the CVSS score is not provided, the potential for complete site compromise and the absence of mitigation in the current versions imply high severity. The EPSS score is unavailable and the flaw is not listed in the CISA KEV catalog, but the lack of protection and high impact warrant immediate attention.

Generated by OpenCVE AI on August 5, 2026 at 07:27 UTC.

Remediation

No vendor fix or workaround currently provided.

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 5, 2026 at 07:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 07:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22

Wed, 05 Aug 2026 06:30:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-08-05T06:00:10.638Z

Reserved: 2026-07-24T07:48:25.070Z

Link: CVE-2026-16940

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T07:30:16Z

Weaknesses
  • CWE-22

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