CVE-2026-16940: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Custom Fields
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.
AI Analysis
Technical Summary
CVE-2026-16940 is a path traversal vulnerability (CWE-22) in the Custom Fields WordPress plugin prior to version 1.5.1. The flaw arises because the plugin does not properly validate file paths supplied by users before performing file deletion operations. This allows unauthenticated users to delete arbitrary files on the server, potentially including critical configuration files such as wp-config.php. The vulnerability has a CVSS 3.1 base score of 10.0, indicating it is critical with network attack vector, no privileges required, no user interaction, and impacts integrity and availability with scope change. No patch or official remediation information is currently available.
Potential Impact
Successful exploitation allows unauthenticated attackers to delete arbitrary files on the affected server. This can include critical WordPress configuration files, leading to a complete site compromise or denial of service. The vulnerability impacts the integrity and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the plugin and consider disabling it if possible to prevent exploitation.
CVE-2026-16940: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Custom Fields
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.
CVSS v3.1
Score 10.0critical
Affected software
Custom Fields
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-16940 is a path traversal vulnerability (CWE-22) in the Custom Fields WordPress plugin prior to version 1.5.1. The flaw arises because the plugin does not properly validate file paths supplied by users before performing file deletion operations. This allows unauthenticated users to delete arbitrary files on the server, potentially including critical configuration files such as wp-config.php. The vulnerability has a CVSS 3.1 base score of 10.0, indicating it is critical with network attack vector, no privileges required, no user interaction, and impacts integrity and availability with scope change. No patch or official remediation information is currently available.
Potential Impact
Successful exploitation allows unauthenticated attackers to delete arbitrary files on the affected server. This can include critical WordPress configuration files, leading to a complete site compromise or denial of service. The vulnerability impacts the integrity and availability of the affected system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict access to the plugin and consider disabling it if possible to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-07-24T07:48:25.070Z
- State
- PUBLISHED
Threat ID: 6a72d7aebf8831d5395e82c5
Added to database: 08/05/2026, 06:26:54 UTC
Last enriched: 08/12/2026, 14:57:22 UTC
Last updated: 09/17/2026, 22:01:33 UTC
Views: 32
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.