FormGent Plugin: Critical Flaw Allows Site Takeover (CVE-2026-3141)

Step by step
How the attack unfolded
Click a phase for details – or let the animation play through.
PHASE 1/5 · Reconnaissance

Attackers identify WordPress sites running the vulnerable FormGent plugin via automated scanning.

T1595 – Active Scanning T1592 – Gather Victim Host Information
  • Target: FormGent up to and including version 1.9.2 (~1,000 active installations)
  • Checking for the REST endpoint /wp-json/formgent/responses/attachments
  • Ideal for automated mass exploitation: no login, no user interaction needed
  • Median time to mass exploitation per Patchstack: only 5 hours
PHASE 2/5 · Initial Access

A single unauthenticated HTTP request to the REST API with no authorization check is enough for access.

T1190 – Exploit Public-Facing Application
  • CVE-2026-3141, CVSS 9.1 (critical)
  • Root cause: missing authorization (CWE-862, 'Missing Authorization')
  • REST route registered without authentication middleware in routes/rest/api.php
  • CVSS vector: AV:N / AC:L / PR:N / UI:N – remote, no login, no click
PHASE 3/5 · Execution

Using the file_token parameter and path traversal, the central wp-config.php is deleted.

T1083 – File and Directory Discovery T1006 – Direct Volume Access
  • Parameter file_token specifies files to delete
  • Path traversal (../../wp-config.php) escapes the upload directory
  • Protection fails as long as wp-content/uploads/formgent does not yet exist (default state)
  • Plugin performs deletion without any capability check
PHASE 4/5 · Privilege Escalation

The missing wp-config.php triggers the setup wizard, which the attacker uses to make himself admin.

T1136 – Create Account T1078 – Valid Accounts
  • WordPress automatically starts the setup wizard ('fresh installation')
  • Attacker connects the site to his own, attacker-controlled database
  • Creation of a self-controlled administrator account
  • Result: takeover of administrator privileges
PHASE 5/5 · Impact

Complete site takeover with data loss and outage of the original site.

T1485 – Data Destruction T1496 – Resource Hijacking T1499 – Endpoint Denial of Service
  • Complete site takeover of the WordPress website
  • High impact on integrity (I:H) and availability (A:H)
  • Deletion of arbitrary files possible (site outage)
  • Mitigation: update to FormGent 1.10.0 or newer
Short & clear answers
Frequently asked questions about this incident
Am I affected by the FormGent vulnerability CVE-2026-3141?
All WordPress websites running the FormGent plugin in any version up to and including 1.9.2 are affected. Check this in your WordPress dashboard under Plugins → Installed Plugins: if it shows version 1.9.2 or older, your site is vulnerable. The flaw is fixed in version 1.10.0 and later.
What exactly do I need to do now?
Update FormGent to version 1.10.0 or newer immediately – this is the top priority and can be done via Plugins → Updates in your WordPress dashboard. If an immediate update isn't possible, temporarily deactivate and remove the plugin. The patch adds a capability check on the affected endpoint and improves path validation.
How dangerous is this vulnerability really?
The vulnerability scores 9.1 out of 10 on the CVSS scale and is rated critical. It can be exploited remotely over the internet, without any login and without a user having to click on anything. In the worst case, an attacker can delete the wp-config.php file and take over the entire website.
How can I tell if my website has already been attacked?
Check your server logs for unusual DELETE requests to /wp-json/formgent/responses/attachments and verify that wp-config.php still exists in your root directory. A clear warning sign is if the WordPress installation wizard suddenly appears when you open your site. Also check under Users → All Users whether any unknown administrator accounts have been created.
Is this vulnerability already being actively exploited?
As of the research date (August 4, 2026), no public exploits had been observed and the flaw is not listed in the CISA KEV catalog. However, this is no reason to relax: according to Patchstack, half of such vulnerabilities are attacked within 24 hours and 70% within seven days – the median time to first mass exploitation is just five hours.
More security news
You might also be interested in
Critical Elementor Pro Flaw: Attackers Can Fully Take Over WordPress Sites
A file upload bug in Elementor Pro up to 4.2.1 allows RCE without login. Version 4.2.2 fixes the flaw – update now!
Pods Plugin: Critical Flaw Enables Admin Takeover, No Login
A critical flaw in the WordPress plugin Pods lets attackers overwrite admin passwords without login. Over 100,000 sites are affected.
miniOrange SAML SSO: Critical Bypass Turns Attackers Into Admins
Two critical auth bypasses in the miniOrange SAML SSO plugin allow forged SAML assertions—up to full WordPress admin access.