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.
Published: 2026-08-11
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Thu, 13 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 13 Aug 2026 10:15:00 +0000

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

Tue, 11 Aug 2026 20:00:00 +0000

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'}


Subscriptions

Paoltaia Geodirectory – Wp Business Directory Plugin And Classified Listings Directory
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-13T14:47:54.942Z

Reserved: 2026-08-06T12:53:46.258Z

Link: CVE-2026-19091

cve-icon Vulnrichment

Updated: 2026-08-13T14:47:51.464Z

cve-icon NVD

Status : Deferred

Published: 2026-08-11T20:17:38.797

Modified: 2026-08-13T15:19:37.360

Link: CVE-2026-19091

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T09:49:20Z

Weaknesses
  • CWE-22

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