CVE-2026-107652

Database Addon for Contact Form 7 <= 1.4.1 - Unauthenticated Limited File Deletion via Injected 'attackcfdb7_file' Submission Field

Published Oct 14, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The Database Addon for Contact Form 7 – CFDB7 plugin for WordPress allows an attacker to delete arbitrary files on the server. By submitting a form that includes a field whose name contains the substring 'cfdb7_file', the plugin stores the value in its database and later passes it directly to unlink() during a bulk delete operation. The lack of path validation means the attacker can specify any file writable by the web server, enabling deletion of core files, configuration data, or logs and disrupting the site. This vulnerability represents a CWE‑639 authorization bypass that permits an unauthenticated user to influence privileged file deletion.

Affected Systems

The flaw affects the CFDB7 plugin, released by vendor arshidkv12, in all versions up to and including 1.4.1. Any WordPress installation that has this plugin and uses the bulk delete feature is susceptible. The issue is not tied to a particular theme or other plugins, so the scope extends to any site running these plugin versions.

Risk and Exploitability

The CVSS base score of 5.3 indicates moderate severity, and the EPSS score of less than 1% shows low current exploitation probability. The vulnerability is not listed in the CISA KEV catalog. An attacker can submit a specially crafted form containing a field whose name includes 'cfdb7_file', leading the plugin to store this value. When the bulk delete action is later invoked (by any user who triggers the bulk delete functionality), the stored value is passed to unlink() without validation, resulting in deletion of the specified file. Thus the attacker can delete any file that is writable by the web server, potentially compromising the site's integrity and availability.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the CFDB7 plugin to the newest release that removes the unsafe unlink usage.
  • If an update is not immediately possible, restrict the bulk delete functionality so that only administrators can perform it and validate any stored file paths with basename() or realpath() before invoking unlink.
  • Modify filesystem permissions so that the web server user can delete files only within a dedicated data directory, preventing removal of core WordPress files.
  • Monitor WordPress logs for unusual bulk delete requests or unexpected deletions as an additional detection measure.

Generated by OpenCVE AI on October 16, 2026 at 01:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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.
Title Database Addon for Contact Form 7 <= 1.4.1 - Unauthenticated Limited File Deletion via Injected 'attackcfdb7_file' Submission Field
Weaknesses CWE-639
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 15, 2026, 4:43 PM
Reserved
Oct 8, 2026, 2:28 PM
Status
Deferred
Published
Oct 14, 2026, 2:16 AM
Modified
Oct 15, 2026, 5:17 PM