---
id: CVE-2026-107652
title: >-
  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
summary: >-
  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_…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-639
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T02:16:57.297'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107652'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/contact-form-cfdb7/tags/1.4.0/contact-form-cfdb-7.php#L170
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contact-form-cfdb7/tags/1.4.0/inc/admin-subpage.php#L325
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/contact-form-cfdb7/tags/1.4.0/inc/admin-subpage.php#L329
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3737068%40contact-form-cfdb7&new=3737068%40contact-form-cfdb7
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/7de3606a-254c-4e5f-9499-b1cc79dce7c8?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-10-14T03:11:15.438Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
