Skip to main content

GeoDirectory Plugin CVE-2026-19091

| EUVDEUVD-2026-56929 HIGH
Path Traversal (CWE-22)
2026-08-11 security@wordfence.com GHSA-7gmf-8rwv-m7jc
8.1
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Register subscriber account on target site
  2. Delivery
    Send AJAX save-post request with post_type=attachment in query string
  3. Exploit
    Auto-draft GeoDirectory post coerced into WordPress attachment object
  4. Install
    Inject target filesystem path (e.g., wp-config.php) into attachment metadata
  5. C2
    Invoke delete_revision to trigger unlink() on injected path
  6. Execute
    Critical file deleted, site non-functional
  7. Impact
    Attacker accesses WordPress setup wizard for full admin takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the attacker to hold at minimum a WordPress subscriber account on the target installation; sites with open public user registration are therefore exploitable by any unauthenticated internet-reachable attacker who self-registers. The bypass relies specifically on placing post_type=attachment in the HTTP query string rather than the POST body - this is the mechanism that circumvents the GeoDirectory consistency check and does not require any non-default server or plugin configuration. The web server process must have write access to the target file (standard for WordPress deployments where the web server user owns the document root). No specific GeoDirectory listing type, feature flag, or plugin module needs to be enabled beyond the plugin being active. Exploitation is limited on sites where account creation requires administrator approval or where subscriber accounts are restricted, and entirely blocked on sites with no registered non-admin users at all.

Impact

The CVSS 8.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H) is well-calibrated: the attack is network-delivered, requires no special configuration, and needs only a subscriber account - the lowest non-anonymous WordPress role. The I:H and A:H ratings are justified because arbitrary file deletion grants effective control over WordPress integrity and availability; deleting wp-config.php renders the site non-functional and triggers the WordPress install wizard, handing full admin access to the next requester. C:N is accurate as a base-metric assessment since the vulnerability itself does not exfiltrate data, though post-exploitation RCE would change this. No EPSS data was included in the provided intelligence, so exploitation probability cannot be quantified numerically; however, the attack complexity is genuinely low once an account is obtained. KEV status is negative and no POC code is confirmed, but the attack technique is well-understood in the WordPress security community and the description removes any ambiguity about exploitation mechanics. Risk is substantially elevated on sites permitting open user registration and materially lower on sites where account creation requires admin approval.

Exploit ScenarioDerived

An attacker registers a free subscriber account on a GeoDirectory-powered WordPress site that permits open registration, then issues a crafted AJAX save-post request with post_type=attachment placed in the query string (not the POST body) to bypass the consistency check. The attacker injects the absolute path to wp-config.php into the attachment metadata of the resulting auto-draft, then triggers the delete_revision handler, which calls PHP unlink() on that path - deleting wp-config.php, crashing the site, and exposing the WordPress setup wizard to allow the attacker to re-initialize the installation with a new admin account.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 11, 2026

Arbitrary file deletion in the GeoDirectory WordPress plugin (all versions through 2.8.169) permits authenticated attackers with subscriber-level access to delete any file the web server process can reach, trivially enabling remote code execution by targeting wp-config.php. The attack exploits a query-string consistency-check bypass in the delete_revision handler, which dereferences attacker-supplied attachment metadata paths without any post-type or filesystem-path validation. No public exploit code or CISA KEV listing was identified at time of analysis, though the description is sufficiently detailed to enable independent exploit development; any site with open user registration should treat this as an immediate priority.

RemediationAI

Update the GeoDirectory plugin to the version incorporating WordPress.org changeset 3638028 (https://plugins.trac.wordpress.org/changeset/3638028/geodirectory), which adds post-type validation at all affected entry points and strips reserved metadata fields; the exact released version number post-fix is not confirmed in the provided data but is greater than 2.8.169. If an immediate update is not possible, disable open WordPress user registration (Settings > General > uncheck 'Anyone can register') to deny attackers a path to subscriber accounts - this removes the exploitation prerequisite but does not remediate the underlying flaw and any existing subscriber-level accounts remain a threat vector. As an additional compensating control, a web application firewall rule blocking AJAX requests where the query string contains post_type=attachment to GeoDirectory endpoint handlers can disrupt the bypass technique, though rule precision is required to avoid breaking legitimate attachment workflows. Sites using Wordfence may receive protection via firewall rules published alongside the threat intelligence entry. The Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/e4fb4127-2b3f-4c8c-95ee-611f1bacf4c5) should be monitored for updated guidance.

Affected VersionsENISA

GeoDirectory – WP Business Directory Plugin and Classified Listings Directory 0 ≤2.8.169

Affected Packages

euvd geodirectory_wp_business_directory_plugin_and_classified_listings_directory no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) within the GeoDirectory plugin's delete_revision function in includes/class-geodir-post-data.php (lines 1321-1326 and 1502-1550). WordPress's auto-save and revision flow normally restricts post-type handling to GeoDirectory-specific post types, but an attacker can place post_type=attachment exclusively in the HTTP query string rather than the POST body, bypassing the intra-request consistency check. This coerces an auto-draft GeoDirectory listing into a WordPress attachment object, after which the attacker can write arbitrary filesystem paths into attachment metadata fields. When delete_revision is subsequently invoked, it calls PHP's unlink() on the stored path without verifying the post type, validating that the path falls within an expected directory, or checking ownership. The GitHub PR #3070 patch (https://github.com/AyeCode/geodirectory/pull/3070) adds post-type validation at every entry point (init_gd_post, wp_insert_post_data, auto_save_post, ajax_save_post, and delete_revision itself) and strips reserved metadata fields meta_input and guid to prevent metadata injection.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (wordfence) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

Network AJAX endpoint, subscriber-level auth enforces PR:L, no special conditions for AC:L, file deletion yields I:H and A:H with no direct confidentiality exposure.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

GeoDirectory WordPress plugin (versions ≤2.8.169) allows any registered user to delete arbitrary files, including wp-config.php, enabling complete server compromise. Any WordPress installation with subscriber registration enabled is immediately at risk; attackers need only a basic user account to trigger remote code execution.

Business Impact: High
Compensating Controls

Disable GeoDirectory plugin entirely; disable subscriber user registration; implement application-level access controls to remove file deletion capabilities for subscriber roles; deploy Web Application Firewall (WAF) rules to block requests targeting file deletion endpoints; enable comprehensive logging and file integrity monitoring on wp-config.php and other critical WordPress files; configure filesystem permissions with principle of least privilege to restrict web server write access.

Threat Intelligence Overview

EPSS Score
0.8%
Top 46% exploitable
Prevalence
Medium
popular WordPress business directory plugin, not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy