{"id":"CVE-2026-42322","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-42322","generatedAt":"2026-10-28T02:57:12.886Z","title":"Prior to 16.4.0, admin/themes_standard_pages.php validates uploaded logo content by MIME type but reuses the attacker-controlled extension from std_pgs_logo when constructing the stored filename.","description":"Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, admin/themes_standard_pages.php validates uploaded logo content by MIME type but reuses the attacker-controlled extension from std_pgs_logo when constructing the stored filename. An authenticated administrator can upload image content with a server-executable final extension, causing the file to be placed in the web-accessible logo directory and executed when requested if the web server handles that extension. This can permit arbitrary command execution, data disclosure, modification, persistence, and service disruption. This vulnerability is fixed in 16.4.0.","published":"2026-09-25T16:17:25.000Z","lastModified":"2026-09-28T15:17:17.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":9.1,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"},"cwe":["CWE-434"],"affected":[],"epss":{"score":0.01278,"percentile":0.69786,"date":"2026-10-26","history":[{"date":"2026-09-26","score":0.00528,"percentile":0.42381}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.28%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-09-25T16:17:25.000Z","detail":{"score":"9.1","severity":"CRITICAL","publishedAt":"2026-09-25T16:17:25.420Z"},"summary":"New CVE, critical severity (CVSS 9.1)."}],"references":[{"url":"https://github.com/Piwigo/Piwigo/commit/1e7f7262cb30e6916779f93e66d5d6579ec75a11","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/commit/4a13ec9a8f4881ae1f23bdfd24d7b90cd0802cdc","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/releases/tag/16.4.0","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7w97-5g4p-xqvv","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7w97-5g4p-xqvv","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42322","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}