What’s Vulnerable › Vulnerabilities
CVE-2026-34728: phpMyFAQ: Path Traversal - Arbitrary File Deletion in MediaBrowserController
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-04-02 · updated 2026-10-26
- Weakness: CWE-22
Description
phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, the MediaBrowserController::index() method handles file deletion for the media browser. When the fileRemove action is triggered, the user-supplied name parameter is concatenated with the base upload directory path without any path traversal validation. The FILTER_SANITIZE_SPECIAL_CHARS filter only encodes HTML special characters (&, ', ", <, >) and characters with ASCII value < 32, and does not prevent directory traversal sequences like ../. Additionally, the endpoint does not validate CSRF tokens, making it exploitable via CSRF attacks. This issue has been patched in version 4.1.1.
Affected products
- thorsten phpMyFAQ: before 4.1.1 — fixed in 4.1.1
How to fix
Upgrade to a fixed version: thorsten phpMyFAQ 4.1.1. Check the vendor advisory for mitigations.
References
- https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-38m8-xrfj-v38x
- https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-38m8-xrfj-v38x
Get alerted when CVE-2026-34728 or the next vulnerability affects your stack