Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/AyeCode/geodirectory/blob/c3969ed65f5c6135d828c47b9f9c162784d
- https://github.com/AyeCode/geodirectory/blob/c3969ed65f5c6135d828c47b9f9c162784d
- https://github.com/AyeCode/geodirectory/blob/c3969ed65f5c6135d828c47b9f9c162784d
- https://github.com/AyeCode/geodirectory/blob/c3969ed65f5c6135d828c47b9f9c162784d
- https://github.com/AyeCode/geodirectory/pull/3070/changes/29e519019f76a11c74a6b9
- https://plugins.trac.wordpress.org/changeset/3638028/geodirectory
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e4fb4127-2b3f-4c8c-95e
FAQ
What is CVE-2026-19091?
CVE-2026-19091 is a vulnerability with a CVSS score of 8.1 (HIGH). 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_r...
How severe is CVE-2026-19091?
CVE-2026-19091 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-19091?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.