CVE-2026-66397

HIGH

phpMyFAQ before 4.1.6 Path Traversal via category image deletion

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-mh9w-5hr8-3272)
https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-mh9w-5hr8-3272
Third Party Advisory third-party-advisory
VulnCheck Advisory: phpMyFAQ before 4.1.6 Path Traversal via category image deletion
https://www.vulncheck.com/advisories/phpmyfaq-before-path-traversal-via-category-image-deletion

Scores

CVSS v4 8.6
EPSS 0.0032
EPSS Percentile 25.0%
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (2)
thorsten/phpMyFAQ < 4.1.6
thorsten/phpMyFAQ 4.1.6
Published Jul 27, 2026
Tracked Since Jul 27, 2026