SecurityContext

CVE-2026-126716: Mega Forms - Arbitrary File Deletion

  • Cve: CVE-2026-126716
  • Name: Mega Forms - Arbitrary File Deletion
  • 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.
  • Impact: Unauthenticated attackers can delete arbitrary files, potentially leading to remote code execution if critical files like wp-config.php are removed.
  • Remediation: Update to the latest version of the Mega Forms plugin.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write, remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs an administrator to delete the stored entry
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
  • Epss score: 0.01348
  • Epss percentile: 0.72054
  • Assignee: [email protected]
  • Published at: 2026-11-20T10:17:10Z
  • Age in days: 4
  • Modified at: 2026-11-20T18:18:42Z
  • References total: 9
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-126716
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts