Skip to content

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

HighCVSS 8.1 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPWordPress

Description

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 delete_revision 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 post_type=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 delete_revision handler then dereferences and unlinks without any post-type or path validation.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory <= 2.8.169 after 2.8.169 Fixed
wordpress geodirectory(WordPress) < 2.8.170 2.8.170 Fixed

Affected products

ProductAffected versionsFixed in
paoltaia GeoDirectory – WP Business Directory Plugin and Classified Listings Directory <= 2.8.169 No fix listed
wordpress geodirectory(WordPress) < 2.8.170 2.8.170

References