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

5.3
Authorization Bypass Through User-Controlled Key
CVE CVE-2026-107652
CVSS 5.3 (Medium)
Publicly Published October 13, 2026
Last Updated October 14, 2026
Researcher Sawyer

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.

References

Share

Vulnerability Details for Database Addon for Contact Form 7 – CFDB7

Software Type Plugin
Software Slug contact-form-cfdb7 (view on wordpress.org)
Patched? Yes
Remediation Update to version 1.4.2, or a newer patched version
Affected Version
  • <= 1.4.1
Patched Version
  • 1.4.2

Recent vulnerabilities in Database Addon for Contact Form 7 – CFDB7

# Title CVE ID CVSS Researchers Date
1 Contact Form 7 Database Addon <= 1.3.1 - Unauthenticated Stored Cross-Site Scripting via tmpD Parameter CVE-2025-6740 6.1 Phat RiO July 3, 2025
2 Contact Form 7 Database Addon – CFDB7 <= 1.2.6.8 - Unauthenticated Sensitive Information Exposure CVE-2024-3870 5.3 Tim Coen April 26, 2024
3 Contact Form 7 Database Addon <= 1.2.6.3 - CSV Injection CVE-2022-3634 7.2 Adel Bouaricha October 27, 2022
4 Contact Form 7 Database Addon – CFDB7 plugin <= 1.2.5.9 - Cross-Site Request Forgery CVE-2021-36886 6.5 R3N0 November 12, 2021
5 Contact Form 7 Database Addon – CFDB7 <= 1.2.6.1 - Unauthenticated Stored Cross-Site Scripting CVE-2021-36885 6.1 R3N0 November 12, 2021
6 Contact Form 7 Database Addon <= 1.2.5.4 - CSV Injection CVE-2021-24144 8.8 SunCSR-thiennv January 25, 2021
7 Contact Form 7 Database Addon <= 1.2.5.3 - SQL Injection 8.8 January 19, 2021

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation