Unrated severityNVD Advisory· Published Jul 27, 2026· Updated Jul 28, 2026
phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API
CVE-2026-66398
Description
phpMyFAQ before v4.1.6 contains a remote code execution vulnerability in the configuration API that allows authenticated administrators with CONFIGURATION_EDIT and ATTACHMENT_ADD privileges to write arbitrary PHP files by manipulating the upgrade.lastDownloadedPackage setting. Attackers can upload a malicious ZIP file as an attachment, point the updater configuration to its stored path, and extract it into the application root to achieve code execution as the web server user.
Affected products
1- Range: <4.1.6
Patches
Vulnerability mechanics
References
2- github.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2wmitrevendor-advisory
- www.vulncheck.com/advisories/phpmyfaq-before-remote-code-execution-via-configuration-apimitrethird-party-advisory
News mentions
1- ⚡ Weekly Recap: Rogue AI Models, $88M Bitcoin Theft, Water-System Attacks and Dangling DNS HijacksThe Hacker News · Aug 3, 2026