CVE-2026-126716
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| alikhallad | mega_forms_drag_drop_form_builder_with_multi-step_conditional_logic | {"endIncluding":"1.7.9"} | |
References
- 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-api.php#L1479
- 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/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/public/partials/class-mega-forms-public-ajax.php#L20
- 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
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c378777b-77a6-4d85-8933-a037bf368904?source=cve
CWEs
CWE-22
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.