Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted multipart form field
-
DeliveryStore malicious cfdb7_file path in db7_forms
-
ExploitAdmin bulk-deletes the submission
-
Executionunlink() removes attacker-chosen file
-
ImpactSite integrity loss or takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Exploitation requires the CFDB7 Database Addon (≤1.4.1) to be active with a Contact Form 7 form that stores submissions. The unauthenticated attacker must send a multipart submission containing an injected field whose name includes the substring 'cfdb7_file' and whose value is a filesystem path; the plugin stores this arbitrary non-form-tag field and later passes it to unlink() without basename()/realpath() validation or ownership checks. The critical LIMITING factor is that deletion does not fire at submission time - it only executes when a site administrator deletes that stored submission via the admin bulk-action handler, so successful exploitation depends on privileged operator interaction. No special server configuration is otherwise required. |
| Impact | This is a CVSS 5.3 (MEDIUM) issue, and the signals collectively argue for measured, not urgent, prioritization. The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N confirms network vector, low complexity, and no privileges - hence the unauthenticated framing. However, the description itself reveals a conflict with the UI:N rating: the dangerous unlink() occurs inside the admin process_bulk_action() delete handler, meaning the unauthenticated attacker can only STAGE the payload (inject a crafted multipart field stored in db7_forms), while actual file deletion fires only when a site administrator later deletes that submission. This deferred, operator-triggered execution materially lowers real-world likelihood versus a fully self-contained unauthenticated exploit. No EPSS score, no SSVC decision data, and no KEV listing were provided, and the report originates from Wordfence research rather than observed attacks - so there is no public exploit identified at time of analysis. Impact is rated I:L / A:N, but note that arbitrary file deletion can be escalated: deleting wp-config.php can force WordPress into its setup/reinstall flow and enable full site takeover, so the practical integrity/availability impact may exceed the base I:L rating - verify against deployment. Net: a real but conditional flaw worth patching on normal cadence, not an emergency. |
| Exploit ScenarioDerived | An attacker submits a crafted multipart POST to a public CFDB7-backed Contact Form 7 form, adding an extra field whose name contains the substring 'cfdb7_file' and whose value is the absolute path of a sensitive file (e.g. wp-config.php). The malicious value is stored verbatim in the db7_forms row. When a site administrator later reviews and bulk-deletes that spam-looking submission, the plugin passes the attacker-controlled path straight to unlink(), deleting the targeted file. No public exploit code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Arbitrary file deletion in the Database Addon for Contact Form 7 - CFDB7 WordPress plugin through version 1.4.1 allows unauthenticated attackers to inject a crafted multipart submission field whose name contains the substring 'cfdb7_file' and whose value is an arbitrary filesystem path; the plugin stores that non-form-tag field and later passes it to unlink() without basename()/realpath() normalisation or any check that the file belongs to that submission. Because deletion does not occur at submission time but only when an administrator bulk-deletes the poisoned entry from wp-admin, successful exploitation depends on privileged operator interaction, which is why the independent assessment rates it CVSS 5.3 (MEDIUM) with UI:R while retaining PR:N and network reachability. No public exploit code has been identified at time of analysis and there is no confirmed active exploitation (CISA KEV).
RemediationAI
Apply the upstream fix: the plugin repository changeset 3737068 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3737068%40contact-form-cfdb7&new=3737068%40contact-form-cfdb7) contains the correction, but the provided data does not confirm the tagged release number that ships it - treat this as upstream fix available (PR/commit); released patched version not independently confirmed - so check the CFDB7 changelog and update to the newest release, or consult the Wordfence advisory https://www.wordfence.com/threat-intel/vulnerabilities/id/7de3606a-254c-4e5f-9499-b1cc79dce7c8 for the vendor-stated fixed version, and consider WordPress's automatic plugin security updates as the deployment mechanism. If you cannot update immediately, exploit the fact that deletion never fires at submission time but only when an administrator bulk-deletes the poisoned entry: stop using CFDB7's bulk-delete action on submissions you did not personally generate, inspect entries individually before deleting them, and restrict the CFDB7 admin menu capability to a single trusted role so a poisoned row is not swept up in routine cleanup - the trade-off is slower, more manual administration and retained junk submissions in db7_forms. Because the sink is unlink() executed as the PHP user, also harden the web-server account's filesystem reach: constrain the PHP process with open_basedir limited to the WordPress document root and remove write/unlink permission from wp-config.php, sibling plugins, uploads and backup directories - the trade-off is that legitimate plugin maintenance, file-based caching and deployment tooling may break. Least disruptive to operations but most disruptive to functionality is deactivating CFDB7 entirely until a patched version is verified; that removes the exposure at the cost of losing form-submission logging for Contact Form 7.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw sits in the CFDB7 addon (CPE cpe:2.3:a:arshidkv12:database_addon_for_contact_form_7_-_cfdb7, all versions up to and including 1.4.1) which extends Contact Form 7. CFDB7 persists every submitted field into its db7_forms database row, including extra multipart parts that do not correspond to any configured CF7 form tag, instead of filtering submissions against the form definition. The delete path in inc/admin-subpage.php (referenced at lines 325 and 329 of tag 1.4.0) implements process_bulk_action() by walking the stored submission keys and treating any key whose name contains the substring 'cfdb7_file' as a reference to a stored file, then handing the stored value directly to unlink(). Missing basename()/realpath() normalisation and the absence of an ownership check mean an attacker-controlled string reaches a filesystem delete primitive. The CWE-639 (Authorization Bypass Through User-Controlled Key) classification reflects that the plugin treats an attacker-influenced key/value pair as authorisation to delete an object it never verified ownership of; related unvalidated field handling is visible in contact-form-cfdb-7.php (line 170 per the advisory references). The decisive limiting factor is timing rather than access: the unlink() sink is reached only when an administrator triggers the bulk-action delete on that stored submission, so although the injection is unauthenticated (PR:N), the destructive step requires user interaction (UI:R), which is exactly the discrepancy between the description's CVSS 5.3 vector (UI:N) and the independently assessed vector (UI:R). This is a medium-severity, conditional-impact issue - confidentiality is unaffected, integrity impact is limited to deleting files the PHP user can unlink.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Injection is unauthenticated over the network (PR:N/AV:N/AC:L), but the file deletion only triggers when an admin deletes the submission, so UI:R; impact is file deletion (I:L) with no confidentiality.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Database Addon for Contact Form 7 - CFDB7 plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.4.1. This is due to the plugin storing arbitrary (non-form-tag) submission fields in its db7_forms row and the process_bulk_action() delete handler then matching any stored key whose name contains the substring 'cfdb7_file' and passing the stored value directly to unlink() without validating that the file actually belongs to the submission being deleted or constraining the filename with basename()/realpath(). This makes it possible for unauthenticated attackers to inject a crafted multipart field.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
EUVD-2026-100766
GHSA-5c8v-v24f-7rj6
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB