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
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- www.wordfence.com
- github.com
- github.com
- github.com
- plugins.trac.wordpress.org
- Wordfence Intelligence third-party-advisory
- www.cve.org
- ENISA EUVD EUVD-2026-56929 third-party-advisory