Skip to content
Threat Feed
high advisory

Arbitrary File Deletion in GeoDirectory Plugin

The GeoDirectory WordPress plugin contains an arbitrary file deletion vulnerability (CVE-2026-19091) allowing authenticated attackers to delete critical files and potentially achieve remote code execution.

CVE search metadata

CVE search record: CVE-2026-19091. Severity: high. CVSS: 8.1. KEV: no. Product: GeoDirectory. Brief: Arbitrary File Deletion in GeoDirectory Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-08-geodirectory-arbitrary-file-deletion/

The GeoDirectory plugin for WordPress (all versions up to and including 2.8.169) is affected by a critical vulnerability, tracked as CVE-2026-19091, which permits arbitrary file deletion on the hosting server. The vulnerability resides within the delete_revision function, which fails to properly validate file paths during the deletion process. Authenticated attackers with subscriber-level access can manipulate the system by crafting specific queries to bypass consistency checks, effectively forcing the application to unlink files controlled via attachment metadata.

This issue is significant because it allows an attacker to delete critical application files, such as 'wp-config.php'. By deleting this configuration file, an attacker can trigger a re-installation process or manipulate the application environment, potentially facilitating remote code execution or total site compromise. The exploit involves converting an auto-draft listing into an attachment to bypass validation mechanisms, demonstrating a breakdown in input sanitization and post-type verification within the plugin's core logic.

Impact

Successful exploitation allows for the deletion of arbitrary files on the WordPress server, leading to potential service disruption, unauthorized installation redirection, and full remote code execution if sensitive configuration files are removed. This affects all websites utilizing the GeoDirectory plugin version 2.8.169 or earlier.

Recommendation

  • Immediately update the GeoDirectory plugin to the latest patched version available from the vendor.
  • Audit access logs for subscriber-level users attempting to POST to the plugin's revision or attachment handling endpoints.
  • Monitor for unauthorized file modification or deletion events targeting core WordPress files (e.g., wp-config.php).
  • Enable web application firewall rules to detect and block suspicious requests containing post_type=attachment parameters in unauthorized contexts.

Immediate actions

Patch GeoDirectory plugin to version 2.8.170 or higher

IT Operations 24h

Threat Hunt

Identify subscriber-level users making POST requests to attachment or revision deletion endpoints

T1190 medium medium confidence hunt now

Data: webserver logs