{"id":"CVE-2026-34728","published":"2026-04-02T14:44:19Z","modified":"2026-04-02T15:24:02Z","title":"phpMyFAQ: Path Traversal - Arbitrary File Deletion in MediaBrowserController","vendor":"thorsten","product":"phpMyFAQ","tier":"tail","description":{"text":"phpMyFAQ is an open source FAQ web application. Prior to version 4.1.1, the MediaBrowserController::index() method handles file deletion for the media browser. When the fileRemove action is triggered, the user-supplied name parameter is concatenated with the base upload directory path without any path traversal validation. The FILTER_SANITIZE_SPECIAL_CHARS filter only encodes HTML special characters (&, ', \", <, >) and characters with ASCII value < 32, and does not prevent directory traversal sequences like ../. Additionally, the endpoint does not validate CSRF tokens, making it exploitable via CSRF attacks. This issue has been patched in version 4.1.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00721,"percentile":0.54863,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/thorsten/phpMyFAQ/security/advisories/GHSA-38m8-xrfj-v38x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/thorsten/phpMyFAQ/releases/tag/4.1.1","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":10.97},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"thorsten","affectedVersions":[{"vendor":"thorsten","product":"phpMyFAQ","versions":["< 4.1.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-02T15:23:57.595966Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phpmyfaq/phpmyfaq","vulnerableRanges":["<4.1.1"],"patched":["4.1.1"],"from":["GHSA-38m8-xrfj-v38x"],"provenance":"source"}],"summary":{"text":"phpMyFAQ, the open source FAQ web application, has a path traversal flaw in the MediaBrowserController::index() method, which handles file deletion for the media browser: the user-supplied name parameter is concatenated onto the base upload directory without traversal validation, and the sanitising filter does not block sequences such as ../. An attacker with low-privilege authenticated access can delete arbitrary files on the server by getting a logged-in user to trigger the fileRemove action, since the endpoint also lacks CSRF token validation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:13Z"},"euvd":{"id":"EUVD-2026-18258","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-24421","published":"2026-01-24","fixed":"4.0.17","kev":false,"link":{"from":"CVE-2026-24421","to":"CVE-2026-34728","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phpmyfaq/phpmyfaq","fromFixed":"4.0.17","toFixed":"4.1.1","daysApart":68}]}},{"cve":"CVE-2026-24422","published":"2026-01-24","fixed":"4.0.17","kev":false},{"cve":"CVE-2026-32629","published":"2026-04-02","fixed":"4.1.1","kev":false},{"cve":"CVE-2026-34728","published":"2026-04-02","fixed":"4.1.1","kev":false},{"cve":"CVE-2026-34729","published":"2026-04-02","fixed":"4.1.1","kev":false},{"cve":"CVE-2026-45007","published":"2026-05-15","fixed":"4.1.2","kev":false},{"cve":"CVE-2026-45008","published":"2026-05-15","fixed":"4.1.2","kev":false}],"package":"Packagist:phpmyfaq/phpmyfaq"}}