9.4critical
phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API
- Severity
- 9.4critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| thorsten phpMyFAQ | before 4.1.6 Not affected: 4.1.6 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
phpMyFAQ anterior a la v4.1.6 contiene una vulnerabilidad de ejecución remota de código en la API de configuración que permite a administradores autenticados con privilegios CONFIGURATION_EDIT y ATTACHMENT_ADD escribir archivos PHP arbitrarios manipulando la configuración ’upgrade.lastDownloadedPackage’. Los atacantes pueden subir un archivo ZIP malicioso como adjunto, apuntar la configuración del actualizador a su ruta almacenada y extraerlo en la raíz de la aplicación para lograr la ejecución de código como el usuario del servidor web.
References
| https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2w | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/phpmyfaq-before-remote-code-execution-via-configuration-api | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-66398 changed 2026-07-28 | CVE Terms of Use |
| NVD | CVE-2026-66398 changed 2026-10-24 | Public domain |