{"id":"CVE-2026-57961","published":"2026-07-10T13:58:00Z","modified":"2026-07-10T15:14:32Z","title":"phpMyFAQ - Authenticated Path Traversal in PDF Export via concatenatePaths Function","vendor":"phpMyFAQ","product":"phpMyFAQ","tier":"tail","description":{"text":"phpMyFAQ before 4.1.5 contains a potential authenticated path traversal vulnerability in the concatenatePaths() function within src/phpMyFAQ/Export/Pdf/Wrapper.php. A user with FAQ editing privileges can store HTML containing crafted image paths that are processed during PDF generation. The path resolution logic locates the substring \"content\" within a user-controlled path using strpos(); when \"content\" is absent, strpos() returns false, which becomes 0 when cast to an integer, preserving the entire attacker-controlled path. This path is later passed to file_get_contents() without canonicalization or root-directory containment validation, which may allow reading of files outside the intended content directory.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00399,"percentile":0.25638,"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-88g4-74f3-63x9","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/phpmyfaq-authenticated-path-traversal-in-pdf-export-via-concatenatepaths-function","tags":["third-party-advisory"]}],"priority":{"score":7.0,"factors":[{"name":"EPSS percentile","points":5.13},{"name":"CVSS severity","points":1.89}]},"vendorSlug":"phpmyfaq","affectedVersions":[{"vendor":"phpMyFAQ","product":"phpMyFAQ","versions":["< 4.1.5"]}],"fixedVersions":[{"vendor":"phpMyFAQ","product":"phpMyFAQ","versions":["4.1.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-10T15:14:25.295975Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-42891","exploited":false,"provenance":"source"}}