# CVE-2026-34728: phpMyFAQ: Path Traversal - Arbitrary File Deletion in MediaBrowserController

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.78%, higher than 57% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-01T22:30:32.000Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-38m8-xrfj-v38x
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: < 4.1.1
- phpmyfaq/phpmyfaq (Packagist): before 4.1.1
- phpmyfaq phpmyfaq: before 4.1.1

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H`
- GitHub: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-38m8-xrfj-v38x> (exploit, mitigation, vendor-advisory, web)
- <https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34728> (advisory)
- <https://github.com/thorsten/phpMyFAQ> (package)

## Sources

- CVE List: [CVE-2026-34728](https://www.cve.org/CVERecord?id=CVE-2026-34728), CVE Terms of Use, modified 2026-04-02
- GitHub Advisory Database: [GHSA-38m8-xrfj-v38x](https://github.com/advisories/GHSA-38m8-xrfj-v38x), CC-BY-4.0, modified 2026-04-06
- NVD: [CVE-2026-34728](https://nvd.nist.gov/vuln/detail/CVE-2026-34728), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-34728 · Whole record: https://cve.day/CVE-2026-34728.json · Rebuilt by cve.day 2026-11-25T22:59:17.789Z
