phpMyFAQ Path Traversal Vulnerability in Client Directory Deletion

Vulnerability

A path traversal vulnerability has been identified in phpMyFAQ versions prior to 4.1.2, specifically within the Client::deleteClientFolder function. This vulnerability allows admins with INSTANCE_DELETE permission to delete arbitrary directories. By submitting traversal sequences in the client URL parameter, attackers can recursively delete directories outside the intended clientFolder scope.

Impact

Exploitation of this vulnerability allows for arbitrary directory deletion, potentially leading to the loss of important data or files under the web user's reach.

Reproduction

To reproduce this vulnerability, an admin with INSTANCE_DELETE permission can send a POST request to the 'admin/api/instance' endpoint with a URL parameter that includes a traversal payload, such as '../../../<path>'. This request will be processed by the deleteClientFolder function, which fails to validate the URL properly, allowing the server to delete the specified directories recursively.

Remediation

Users are advised to update phpMyFAQ to version 4.1.2 or later, where this vulnerability has been patched.

Added: May 15, 2026, 7:37 PM
Updated: May 15, 2026, 7:37 PM

Vulnerability Rating

Custom Algorithm
spread
3.1
impact
1.7
exploitability
6.1
remediation
7.7
relevance
8.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.