---
id: "CVE-2026-102435"
kind: "vulnerability"
aliases: ["CVE-2026-102435"]
title: "WordPress Ultra Addons for Contact Form 7: unauthenticated arbitrary file deletion leads to code execution"
severity: "critical"
cvss: 9.8
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["contact-form-7", "package", "self-hosted", "wordpress"]
not_affected_if: ["newer-version", "pdf-generator-disabled", "plugin-not-installed"]
published_at: "2026-11-02T20:17:26+00:00"
first_seen_at: "2026-11-02T20:35:25+00:00"
updated_at: "2026-11-02T20:36:27+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-102435", "first_seen_at": "2026-11-02T20:35:25+00:00"}]
---

# WordPress Ultra Addons for Contact Form 7: unauthenticated arbitrary file deletion leads to code execution

The Ultra Addons for Contact Form 7 WordPress plugin does not validate file paths in its _getObjAttr function, so unauthenticated visitors can delete arbitrary files on the server. Deleting a file such as wp-config.php can lead to remote code execution.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check whether the Ultra Addons for Contact Form 7 plugin is installed and its version is `3.5.54` or lower.
- Check whether the PDF Generator add-on is active and whether any Contact Form 7 form is configured for PDF generation.

## Fix

- Ultra Addons for Contact Form 7: a fixed version is not stated in the sources; unknown

## Timeline

- 2026-11-02T20:35:25+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-102435

## From the sources

The Ultra Addons for Contact Form 7 plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the _getObjAttr function in all versions up to, and including, 3.5.54. This makes it possible for unauthenticated attackers to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php). This requires the PDF Generator add-on to be active and a Contact Form 7 form to be configured for PDF generation, as the WPCF7_Submission POP gadget chain relies on CF7 being present to complete the file deletion via __destruct(). Note: This vulnerability can only be exploited when the PDF generator feature is enabled.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
