Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain INSTANCE_DELETE admin credentials
-
DeliveryAuthenticate to phpMyFAQ admin API
-
ExploitSend JSON to admin.api.instance.delete with traversal URL
-
ExecutionBypass scheme-only sanitization in deleteClientFolder
-
PersistFilesystem recursively deletes target outside clientFolder
-
ImpactService disruption and data loss
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires (1) a phpMyFAQ deployment running a version before 4.1.2 with the multisite subsystem enabled and clientFolder writable (isMultiSiteWriteable() must return true, or deleteClientFolder bails out), and (2) an authenticated administrator session whose role includes the INSTANCE_DELETE permission - explicitly a granular admin role short of SUPER_ADMIN per the GHSA writeup. The attacker reaches the sink through the admin.api.instance.delete route (or the equivalent edit API and form-based controller), submitting a JSON body whose 'url' field begins with 'https://' followed by ../ traversal sequences. Limiting factors: PR:H in the CVSS 4.0 vector confirms high-privilege access is mandatory, no user interaction is needed (UI:N), and the blast radius is bounded by the filesystem permissions of the PHP/web user, so hardened deployments where PHP cannot write outside its docroot meaningfully constrain real-world damage. |
| Impact | Real-world risk is moderate and primarily insider-driven. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:H/UI:N with VI:H/VA:H reflects network reach but high privileges required, which is consistent with the description (an admin role with INSTANCE_DELETE is mandatory). EPSS is very low at 0.04% (11th percentile) and CISA KEV does not list the CVE, indicating no observed mass exploitation. SSVC classifies Exploitation as 'poc' (not active), Automatable as 'no' (each attack needs a valid admin session and target path), and Technical Impact as 'partial' - aligning with VC:N/VI:H/VA:H (no confidentiality loss, but integrity/availability damage via arbitrary directory deletion). The CVSS 7.0 score is best interpreted as a meaningful insider-threat and post-compromise risk rather than an internet-wide priority: damage scales with the web user's filesystem permissions, so multisite deployments where the PHP user can write outside the webroot face the highest exposure. No conflicting signals between vector, EPSS, and SSVC were identified. |
| Exploit ScenarioDerived | An attacker who has compromised or been granted a phpMyFAQ admin account with the INSTANCE_DELETE permission (but not full SUPER_ADMIN) sends an authenticated POST to the admin.api.instance.delete route with a JSON body whose 'url' field is set to a value like 'https://../../../var/www/html/uploads'. The server strips 'https://', concatenates the remainder onto clientFolder, and recursively deletes the resolved target as the web user, destroying customer data, attachments, or sibling webroots. A PoC is referenced in the GHSA advisory and VulnCheck writeup, making exploitation straightforward once admin access exists. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – May 28, 2026
Arbitrary directory deletion in phpMyFAQ before 4.1.2 allows authenticated admins with the INSTANCE_DELETE permission to recursively delete directories outside the multisite clientFolder by submitting path traversal sequences in the client URL parameter. The flaw stems from Client::deleteClientFolder() stripping only the https:// scheme without canonicalizing or validating ../ segments before passing the path to Filesystem::deleteDirectory(). Publicly available exploit code exists (VulnCheck advisory and GHSA write-up include a PoC), though EPSS remains low at 0.04% and the issue is not listed in CISA KEV.
Earlier versions of this analysis (4)
Arbitrary directory deletion in phpMyFAQ before 4.1.2 allows authenticated admins holding the INSTANCE_DELETE permission to traverse outside the multisite clientFolder and recursively delete directories under the web server user's rights. The flaw resides in Client::deleteClientFolder, which strips only the https:// scheme prefix before concatenating attacker-controlled path segments to the base folder. No public exploit has been identified at time of analysis, though a proof-of-concept is referenced by the vendor advisory and SSVC categorizes exploitation as 'poc'; EPSS remains low at 0.04%.
Arbitrary directory deletion in phpMyFAQ versions prior to 4.1.2 allows authenticated admins holding the INSTANCE_DELETE permission to recursively wipe directories outside the intended multisite clientFolder by injecting traversal sequences into the client URL parameter. Publicly available exploit code exists via the GHSA advisory's documented proof-of-concept, though EPSS scores exploitation likelihood at only 0.04% and the issue is not in CISA KEV. The bug is a near-identical recurrence of GHSA-38m8-xrfj-v38x, which the project previously accepted at High severity in March 2026.
Arbitrary directory deletion in phpMyFAQ versions before 4.1.2 allows authenticated admin users holding the INSTANCE_DELETE permission to recursively remove directories outside the multisite clientFolder by injecting path traversal sequences into a client URL parameter. The flaw resides in Client::deleteClientFolder, which strips only the https:// scheme without canonicalizing or validating ../ segments, and is reachable through the admin.api.instance.delete route. Publicly available exploit code exists via the GHSA advisory and VulnCheck write-up, though EPSS scoring is low (0.04%) and the issue is not listed in CISA KEV.
Authenticated administrators with INSTANCE_DELETE permission in phpMyFAQ versions 4.1.1 and earlier can delete arbitrary directories on the server through path traversal exploitation in the Client::deleteClientFolder function. By injecting traversal sequences like 'https://../../../<path>' in the client URL parameter, attackers bypass intended scope restrictions and recursively delete directories under web server permissions. This vulnerability mirrors GHSA-38m8-xrfj-v38x (accepted at High severity three weeks prior) with identical root cause but different entry point. CVSS scores this at 6.5 (Medium) with high integrity and availability impact. No active exploitation confirmed in CISA KEV, and EPSS data not provided, but public exploit code exists via GitHub Security Advisory GHSA-gh9p-q46p-57g2.
RemediationAI
Upgrade to phpMyFAQ 4.1.2, the vendor-released patched version confirmed by the GHSA advisory (https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-gh9p-q46p-57g2) and the EUVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-45008 . For operators who cannot upgrade immediately, restrict the INSTANCE_DELETE permission to fully trusted SUPER_ADMIN-equivalent accounts only - this directly removes the attacker class the bug requires, at the cost of reducing role granularity for multisite operators. As a defense-in-depth measure, disable the multisite feature (isMultiSiteWriteable returns false) where it is not used, which makes deleteClientFolder() return early before reaching the sink; the side effect is that legitimate per-client folder management via the API will stop functioning. Additionally, run the PHP/web user with least-privilege filesystem permissions so that even a successful traversal cannot reach sensitive directories such as the OS root, sibling vhosts, or backup mounts.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
phpMyFAQ is a PHP-based open-source FAQ/knowledge-base application (cpe:2.3:a:thorsten:phpmyfaq) that supports a multisite deployment mode where each client instance has its own filesystem folder under clientFolder. The root cause is CWE-73 (External Control of File Name or Path): in phpmyfaq/src/phpMyFAQ/Instance/Client.php:583, deleteClientFolder() performs str_replace('https://', '', $sourceUrl) and then concatenates the result onto $this->clientFolder before invoking Filesystem::deleteDirectory(). Because str_replace removes only the literal scheme and no normalization or allow-listing is applied, ../ segments survive unmodified. The sink is reachable from three admin entry points - InstanceController.php:184 (delete API), InstanceController.php:144 (edit API) and the form-based Controller/Administration/InstanceController.php:151 - all gated by the granular INSTANCE_DELETE permission rather than SUPER_ADMIN. This is the same bug class as GHSA-38m8-xrfj-v38x (MediaBrowserController), which the project previously accepted at High severity.
Know when Phpmyfaq 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (VulnCheck) · only source for this CVE.
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
7DescriptionCVE.org
phpMyFAQ before 4.1.2 contains a path traversal vulnerability in Client::deleteClientFolder that allows admins with INSTANCE_DELETE permission to delete arbitrary directories. Attackers can submit traversal sequences like https://../../../<path> in the client URL parameter to recursively delete directories outside the intended clientFolder scope.
Executive ViewAI
phpMyFAQ versions before 4.1.2 contain a path traversal vulnerability allowing authenticated administrators with INSTANCE_DELETE permission to delete directories outside the intended configuration scope, potentially causing data loss in multi-tenant environments. Publicly available exploit code exists, though the vulnerability has not been observed in CISA-tracked active exploitation and carries a 0.04% EPSS score.
Apply vendor patch to phpMyFAQ 4.1.2 or later. Until patched, restrict INSTANCE_DELETE permission to a minimal set of essential administrators and implement comprehensive audit logging on all administrative directory operations.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Duplicate-email registration handling in phpMyFAQ 4.0.7 through 4.0.13 (and 4.0-nightly-2025-10-03 and earlier) lets una
Insufficient Session Expiration in GitHub repository thorsten/phpmyfaq prior to 3.2.2. Rated critical severity (CVSS 9.8
Authentication Bypass by Capture-replay in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.12. Rated critical severity (CVSS 9.8), t
Weak Password Requirements in GitHub repository thorsten/phpmyfaq prior to 3.1.8. Rated critical severity (CVSS 9.8), th
Unauthenticated SQL injection in phpMyFAQ before 4.1.2 allows remote attackers to extract credentials, admin tokens, and
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.ratings.php. Rated high severity (CVS
In phpMyFaq before 2.9.9, there is CSRF in admin/ajax.config.php. Rated high severity (CVSS 8.8), this vulnerability is
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) for modifying a glossary. Rated high severity (CVSS
In phpMyFAQ before 2.9.9, there is Cross-Site Request Forgery (CSRF) in admin/stat.main.php. Rated high severity (CVSS 8
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
phpMyFAQ is an open source FAQ web application for PHP 8.1+ and MySQL, PostgreSQL and other databases. Rated high severi
EUVD-2026-30593
GHSA-rmqr-h98c-qg2m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB