CVE-2026-66397 phpMyFAQ before 4.1.6 Path Traversal via category image deletion
Authenticated attackers can delete arbitrary files via path traversal in category image updates, potentially disabling security gates to create superadmin accounts.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-66397?
CVE-2026-66397 is a high-severity path traversal vulnerability in thorsten phpMyFAQ, published on 27 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-66397?
How do I fix CVE-2026-66397?
No fix has been published for CVE-2026-66397 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-66397 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-66397 exists.
Sources
Also known as GHSA-4cv6-9jjm-xp2g, GHSA-mh9w-5hr8-3272.