Skip to main content
EPSS 0.4%top 66%

CVE-2026-16940: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Custom Fields

0
Critical
VulnerabilityCVE-2026-16940cvecve-2026-16940cwe-22
Published: 08/05/2026 (08/05/2026, 06:00:10 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:H

Affected software

Custom Fields

Affected versions
>=0 <1.5.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 14:57:22 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses