CVE-2026-19091: GeoDirectory <= 2.8.169 - Authenticated (Subscriber+) Arbitrary File Deletion via 'post_type' Parameter via Query-String Bypass in geodir_save_post + geodir_delete_revision
The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the deleterevision function in all versions up to, and including, 2.8.169. This makes it possible for authenticated attackers, with subscriber-level access and above, 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). By placing posttype=attachment exclusively in the query string to bypass the consistency check, an attacker can convert an auto-draft GeoDirectory listing into a WordPress attachment with attacker-controlled file paths injected into attachment metadata, which the deleterevision handler then dereferences and unlinks without any post-type or path validation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GeoDirectory – WP Business Directory Plugin and Classified Listings Directory plugin for WordPressto a version that resolves this vulnerability.Fixed in 2.8.169 - Compensating control
Restrict authenticated (Subscriber+) access to GeoDirectory plugin functionality/endpoints that call geodir_save_post and geodir_delete_revision, e.g., enforce access controls so only trusted roles can invoke these handlers.
Event History
Frequently Asked Questions
What is CVE-2026-19091?
CVE-2026-19091 is a high-severity vulnerability in GeoDirectory versions up to 2.8.169 that allows authenticated users to perform arbitrary file deletion due to insufficient file path validation.
What is the severity of CVE-2026-19091?
The severity of CVE-2026-19091 is rated high with a score of 8.1 on the CVSS scale.
How do I fix CVE-2026-19091?
To fix CVE-2026-19091, update the GeoDirectory plugin to the latest version that addresses this security issue.
Who is affected by CVE-2026-19091?
Authenticated users with Subscriber+ roles in GeoDirectory versions up to 2.8.169 are affected by CVE-2026-19091.
What impact does CVE-2026-19091 have?
CVE-2026-19091 can lead to unauthorized file deletions which may compromise the integrity of a WordPress site using the affected GeoDirectory plugin.