CVE-2026-66398: phpMyFAQ - Remote Code Execution
- Cve: CVE-2026-66398
- Name: phpMyFAQ - Remote Code Execution
- 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.
- Impact: Authenticated administrators can execute arbitrary PHP code as the web server user, leading to full system compromise.
- Remediation: Upgrade to version 4.1.6 or later.
- Vulnerability type: remote_code_execution
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker must have CONFIGURATION_EDIT and ATTACHMENT_ADD privileges
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.4
- Cvss vector: 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Epss score: 0.00411
- Epss percentile: 0.35824
- Assignee: [email protected]
- Published at: 2026-07-27T16:18:12Z
- Age in days: 120
- Modified at: 2026-10-24T13:10:00Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-66398
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-494 | Download of Code Without Integrity Check |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2w | nvd | |
| https://www.vulncheck.com/advisories/phpmyfaq-before-remote-code-execution-via-configuration-api | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| phpmyfaq:phpmyfaq | < 4.1.6 | no | cna | /v1/products/phpmyfaq/phpmyfaq |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| thorsten/phpMyFAQ | security_advisory | yes | /v1/repositories/thorsten/phpMyFAQ |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 99
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports