Arbitrary file deletion in Mega Forms WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Mega Forms Drag & Drop Form Builder with Multi-Step & Conditional Logic plugin for WordPress is affected in all versions up to and including 1.7.9. Its delete_entry function does not validate file paths sufficiently (CWE-22). An unauthenticated attacker can store a path through a form submission, and the file at that path is deleted when an administrator deletes the stored entry. Deleting a file such as wp-config.php can lead to remote code execution.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Description from the CNA
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 now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Ali Khallad | Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic | up to 1.7.9 | — | No fix listed | CNA |
- Mega Forms – Drag & Drop Form Builder with Multi-Step & Conditional Logic VendorAli Khallad Affected up to 1.7.9 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for Mega Forms, Drag & Drop Form Builder with Multi-Step & Conditional Logic.
Written with Claude Haiku 5.5 from the sources below · 2026-11-20
Timeline
- 2026-11-20 Threatist record created from CVE-2026-126716
- 2026-11-20 Alias added: GHSA-p675-9cw5-h9mw
- 2026-11-20 CISA SSVC decision points changed
References
Other 9
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c378777b-77a6-4d85-8933-a037bf368904?source=cve
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-api.php#L1303
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-files-api.php#L544
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/public/partials/class-mega-forms-public-ajax.php#L20
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-submit.php#L237
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/form/fields/base/class-mega-forms-field.php#L1511
- https://plugins.trac.wordpress.org/browser/mega-forms/tags/1.7.8/common/partials/class-mega-forms-api.php#L1479
- https://plugins.trac.wordpress.org/changeset/1234567/mega-forms
- https://plugins.trac.wordpress.org/changeset/3810140/mega-forms/trunk/common/partials/class-mega-forms-api.php
More Ali Khallad vulnerabilities
- TI-2025-36307 WordPress Contact Form By Mega Forms Plugin <= 1.6.1 - Broken Access Control Vulnerability CVSS 3.1MEDIUM 5.4
Sources
- CVE-2026-126716 · CVE Program
- CVE-2026-126716 · NVD
- FIRST EPSS
- GHSA-p675-9cw5-h9mw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences