# CVE-2026-66398

## Summary

- **CVE ID:** CVE-2026-66398
- **Severity:** CRITICAL
- **CVSS Score:** 9.4 (CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H)
- **CWE:** CWE-494
- **Published:** Jul 27, 2026
- **Last Modified:** Jul 28, 2026

## 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

- thorsten — phpMyFAQ (0)
- thorsten — phpMyFAQ (4.1.6)

## References

- [CNA](https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2w)
- [CNA](https://www.vulncheck.com/advisories/phpmyfaq-before-remote-code-execution-via-configuration-api)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.33%
- **EPSS Percentile:** 25.7

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-11._