# CVE-2026-66398: phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-27T15:43:48.063Z
- Modified: 2026-10-24T13:10:00.147Z
- Weaknesses: CWE-494
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- thorsten phpMyFAQ: before 4.1.6 (not affected: 4.1.6)

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

- CVE List: [CVE-2026-66398](https://www.cve.org/CVERecord?id=CVE-2026-66398), CVE Terms of Use, modified 2026-07-28
- NVD: [CVE-2026-66398](https://nvd.nist.gov/vuln/detail/CVE-2026-66398), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-66398 · Whole record: https://cve.day/CVE-2026-66398.json · Rebuilt by cve.day 2026-11-25T22:59:30.214Z
