Paper/Archive/CVE-2026-66398

CVE-2026-66398

thorsten phpMyFAQ — phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API

Description · from the CVE record

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

ProductAffectedFixed inSource
phpMyFAQ< 4.1.64.1.6CNA

Scores by source

VulnCheck (CNA)9.4CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

exploitgithub.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2wwriteupvulncheck.com/advisories/phpmyfaq-before-remote-code-execution-via-configuration-api