CVE-2026-9187 Missing authorization in Abandoned Contact Form 7

Medium 5.3 Published Updated

Unauthenticated attackers can permanently delete arbitrary posts or pages on WordPress sites using the Abandoned Contact Form 7 plugin due to missing authorization checks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-9187?

CVE-2026-9187 is a medium-severity missing authorization vulnerability in zealopensource Abandoned Contact Form 7, published on 16 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Abandoned Contact Form 7 plugin for WordPress is vulnerable to unauthorized arbitrary post deletion in versions up to, and including, 2.2. This is due to a missing capability check and missing nonce validation in the action__remove_abandoned() function, which is registered to both the wp_ajax_remove_abandoned and wp_ajax_nopriv_remove_abandoned hooks. The handler takes a user-supplied recover_id parameter from $_POST and passes it directly to wp_delete_post() with the force-delete flag set to true, without verifying that the ID belongs to the plugin's own cf7af_data post type. This makes it possible for unauthenticated attackers to permanently delete arbitrary posts, pages, or other content on the affected site by sending a single admin-ajax.

Weakness: CWE-862

Which versions are affected by CVE-2026-9187?

How do I fix CVE-2026-9187?

No fix has been published for CVE-2026-9187 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-9187 being exploited?

There is no known exploitation of CVE-2026-9187 in the wild and no public exploit code.

Sources

Also known as GHSA-ff4x-rgp2-vm8c.

Is CVE-2026-9187 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free