Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-126716: high-severity vulnerability (CVSS 8.1) in alikhallad Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic.
What happened
Original description from the source: The Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the delete_entry function in all versions up to, and including, 1.7.9 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). The attacker-supplied path is stored via the unauthenticated form submission endpoint, but the actual file deletion only occurs when an administrator subsequently deletes the stored entry — a routine housekeeping action that serves as the detonation trigger. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Why it matters
High severity, CVSS 8.1.
Affected products and versions
alikhallad Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic <= 1.7.9
| Product | Versions | Fixed in |
|---|---|---|
| alikhallad Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic | <= 1.7.9 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c378777b-77a6-4d85-8933-a037bf368904?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-api.php#L1303 — CVE Program
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-files-api.php#L544 — CVE Program
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/public/partials/class-mega-forms-public-ajax.php#L20 — CVE Program
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-submit.php#L237 — CVE Program
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/form/fields/base/class-mega-forms-field.php#L1511 — CVE Program
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-api.php#L1479 — CVE Program
- https://plugins.trac.wordpress.org/changeset/1234567/mega-forms — CVE Program
- https://plugins.trac.wordpress.org/changeset/3810140/mega-forms/trunk/common/partials/class-mega-forms-api.php — CVE Program
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.