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 Aug 11, 2026 CVSS 3.1 · 8.1 High EPSS 1.1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows authenticated users with subscriber‑level permissions to delete arbitrary files on the server by exploiting a lack of validation in the delete_revision function. An attacker can craft a query string that sets "post_type" to "attachment", turning a GeoDirectory listing into a WordPress attachment with a user‑supplied file path. The delete_revision handler then unlinks the specified file without checking the path or post type, enabling deletion of critical files such as wp-config.php. This weakness is a form of path traversal and is classified as CWE‑22, and can lead to remote code execution if malicious files are removed or replaced.

Affected Systems

The issue affects the GeoDirectory – WP Business Directory Plugin (also known as Classified Listings Directory) for WordPress from all releases up through version 2.8.169. The affected vendor is paoltaia, and the plugin is distributed under the GeoDirectory name. Anyone running the plugin on a WordPress site with subscriber or higher roles is potentially vulnerable until the plugin is updated to a version newer than 2.8.169.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, and the vulnerability can lead to remote code execution if critical files such as wp-config.php are deleted or overridden. The EPSS score of less than 1 % suggests that exploitation is uncommon in the short term. Exploitation requires an authenticated user with subscriber or higher role and the ability to send a crafted query string, so the attack vector is likely internal or via compromised credentials. Once the conditions are met, the lack of path validation makes the vulnerability relatively easy to exploit, enabling the removal of arbitrary files on the server, which can directly lead to RCE if files controlling application logic are targeted.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GeoDirectory to the latest release (2.8.170 or newer) to remove the vulnerable code.
  • Restrict subscriber and other low‑privilege roles from posting or deleting attachments by editing role capabilities or using a role‑management plugin.
  • Ensure WordPress file permissions restrict deletion to only authorized processes (e.g., correct Unix ownership and deny world‑write access).

Generated by OpenCVE AI on August 12, 2026 at 20:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Paoltaia
Paoltaia geodirectory – Wp Business Directory Plugin And Classified Listings Directory
Wordpress
Wordpress wordpress
Vendors & Products Paoltaia
Paoltaia geodirectory – Wp Business Directory Plugin And Classified Listings Directory
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title GeoDirectory <= 2.8.169 - Authenticated (Subscriber+) Arbitrary File Deletion via 'post_type' Parameter via Query-String Bypass in geodir_save_post + geodir_delete_revision
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 13, 2026, 2:47 PM
Reserved
Aug 6, 2026, 12:53 PM
Status
Deferred
Published
Aug 11, 2026, 8:17 PM
Modified
Aug 13, 2026, 3:19 PM