Vulnerability Description
The FormGent plugin for WordPress is vulnerable to unauthorized arbitrary file deletion due to a missing capability check on the /wp-json/formgent/responses/attachments REST API endpoint in all versions up to, and including, 1.9.2 This is due to the REST API route being registered without any authentication middleware in routes/rest/api.php. This makes it possible for unauthenticated attackers to delete arbitrary files within the formgent uploads directory. Additionally, on Linux servers where the wp-content/uploads/formgent directory does not yet exist (the default state after plugin installation), the path traversal protection can be bypassed, enabling deletion of arbitrary files including wp-config.php which can lead to complete site takeover via a fresh WordPress installation.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/formgent/tags/1.3.1/app/Http/Controll
- https://plugins.trac.wordpress.org/browser/formgent/tags/1.3.1/routes/rest/api.p
- https://plugins.trac.wordpress.org/browser/formgent/trunk/app/Http/Controllers/A
- https://plugins.trac.wordpress.org/browser/formgent/trunk/routes/rest/api.php#L2
- https://plugins.trac.wordpress.org/changeset/3604540/formgent/trunk/app/Http/Con
- https://plugins.trac.wordpress.org/changeset?old_path=%2Fformgent/tags/1.9.2&new
- https://www.wordfence.com/threat-intel/vulnerabilities/id/097a9d0f-fa38-4fdc-904
FAQ
What is CVE-2026-3141?
CVE-2026-3141 is a vulnerability with a CVSS score of 9.1 (CRITICAL). The FormGent plugin for WordPress is vulnerable to unauthorized arbitrary file deletion due to a missing capability check on the /wp-json/formgent/responses/attachments REST API endpoint in all versio...
How severe is CVE-2026-3141?
CVE-2026-3141 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-3141?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.