{"id":"CVE-2026-66397","state":"PUBLISHED","title":"phpMyFAQ before 4.1.6 Path Traversal via category image deletion","description":"phpMyFAQ before 4.1.6 fails to validate path traversal sequences in the existing_image field during category updates, allowing authenticated attackers to delete arbitrary files by exploiting insufficient sanitization in Image::delete(). Attackers can delete the database.php configuration file to disable the installation gate and access the public setup wizard to create new superadmin accounts.","publishedAt":"2026-07-27T15:43:47.391Z","updatedAt":"2026-07-28T01:06:33.479Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","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-mh9w-5hr8-3272","https://www.vulncheck.com/advisories/phpmyfaq-before-path-traversal-via-category-image-deletion"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/66xxx/CVE-2026-66397.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-66397","state":"PUBLISHED","datePublished":"2026-07-27T15:43:47.391Z","dateUpdated":"2026-07-28T01:06:33.479Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-07-26T12:22:34.139Z"},"containers":{"cna":{"title":"phpMyFAQ before 4.1.6 Path Traversal via category image deletion","descriptions":[{"lang":"en","value":"phpMyFAQ before 4.1.6 fails to validate path traversal sequences in the existing_image field during category updates, allowing authenticated attackers to delete arbitrary files by exploiting insufficient sanitization in Image::delete(). Attackers can delete the database.php configuration file to disable the installation gate and access the public setup wizard to create new superadmin accounts."}],"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-mh9w-5hr8-3272","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-mh9w-5hr8-3272)"},{"url":"https://www.vulncheck.com/advisories/phpmyfaq-before-path-traversal-via-category-image-deletion","name":"VulnCheck Advisory: phpMyFAQ before 4.1.6 Path Traversal via category image deletion","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:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"HIGH","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-07-28T01:06:33.479Z"},"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-mh9w-5hr8-3272","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-27T18:17:40.335305Z","id":"CVE-2026-66397","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-27T18:18:23.244Z"}}]}}}