# CVE-2026-66397: phpMyFAQ before 4.1.6 Path Traversal via category image deletion

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- 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.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-27T15:43:47.391Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

phpMyFAQ before 4.1.6 fails to validate path traversal sequences in the existing_image field during category updates, allowing authenticated attackers to delete arbitrary files by exploiting insufficient sanitization in Image::delete(). Attackers can delete the database.php configuration file to disable the installation gate and access the public setup wizard to create new superadmin accounts.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: before 4.1.6 (not affected: 4.1.6)

## References

- <https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-mh9w-5hr8-3272> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/phpmyfaq-before-path-traversal-via-category-image-deletion> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-66397](https://www.cve.org/CVERecord?id=CVE-2026-66397), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-66397](https://nvd.nist.gov/vuln/detail/CVE-2026-66397), Public domain, modified 2026-10-24

---

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