Summary
CVE-2026-3141 is an unauthenticated arbitrary file deletion vulnerability in the FormGent plugin for WordPress (by wpwax). A missing capability check on a REST API endpoint lets unauthenticated attackers delete files, potentially including wp-config.php, which can lead to full site compromise. It is rated Critical (CVSS 9.1).
Technical details
- Root cause: Missing authorization (CWE-862) — the
/wp-json/formgent/responses/attachmentsREST API endpoint lacks a capability check. - Trigger conditions: An attacker sends a request to the vulnerable endpoint to remove an attachment; insufficient file path validation allows deletion beyond the intended
formgentuploads directory. - Attack vector: Network, remotely exploitable, no authentication or user interaction required.
- Impact: Deletion of arbitrary files on the server. Removing critical files such as
wp-config.phpcan force the site into a reinstallation/setup state, enabling site takeover.
Affected software
- FormGent for WordPress — all versions up to and including 1.9.2.
Severity
- CVSS v3.1 Base Score: 9.1 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Mitigation and recommended actions
- Immediate: Update FormGent to version 1.10.0 or later, which adds capability checks and hardened upload path validation with signed file tokens.
- If no patch can be applied: Restrict or block network access to the
/wp-json/formgent/responses/attachmentsREST API endpoint (for example via a WAF rule or web server access control), and deactivate the plugin until it can be updated.
How IONIX identifies potentially affected assets
IONIX matches the following signals against data already collected when it crawled the asset; identifying the technology sends no request beyond that crawl.
- Raw HTTP response body:
/wp-content/plugins/formgent/

