{"id":"CVE-2026-66398","state":"PUBLISHED","title":"phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API","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.","publishedAt":"2026-07-27T15:43:48.063Z","updatedAt":"2026-07-28T01:06:34.143Z","severity":{"score":9.4,"label":"Critical","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["thorsten phpMyFAQ"],"affected":[{"vendor":"thorsten","product":"phpMyFAQ","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.1.6","versionType":"semver"},{"version":"4.1.6","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2w","https://www.vulncheck.com/advisories/phpmyfaq-before-remote-code-execution-via-configuration-api"],"weaknesses":["CWE-494"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/66xxx/CVE-2026-66398.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-66398","state":"PUBLISHED","datePublished":"2026-07-27T15:43:48.063Z","dateUpdated":"2026-07-28T01:06:34.143Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-26T12:22:34.139Z"},"containers":{"cna":{"title":"phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API","descriptions":[{"lang":"en","value":"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":[{"vendor":"thorsten","product":"phpMyFAQ","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"4.1.6","versionType":"semver"},{"version":"4.1.6","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2w","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-4fv7-8rr6-rf2w)"},{"url":"https://www.vulncheck.com/advisories/phpmyfaq-before-remote-code-execution-via-configuration-api","name":"VulnCheck Advisory: phpMyFAQ before 4.1.6 Remote Code Execution via Configuration API","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":9.4,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-494","lang":"en","description":"Download of Code Without Integrity Check","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-28T01:06:34.143Z"},"datePublic":"2026-07-13T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:phpmyfaq:phpmyfaq:*:*:*:*:*:*:*:*","versionEndExcluding":"4.1.6"}]}]}],"credits":[{"lang":"en","value":"ImDuong","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-4fv7-8rr6-rf2w","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-27T16:21:02.480292Z","id":"CVE-2026-66398","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-27T16:21:25.582Z"}}]}}}