{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42322","published":"2026-09-25T16:17:25.420000Z","last_modified":"2026-09-28T15:17:17.113000Z","status":"Deferred","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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-434"],"cpes":[],"cpes_truncated":false,"vendors":["piwigo"],"products":["piwigo/piwigo"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":55,"links":{"html_es":"/es/cve/CVE-2026-42322/","html_en":"/en/cve/CVE-2026-42322/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42322","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42322"},"untrusted":{"vendor_name":"Piwigo","product_name":"Piwigo","desc_en":"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.","affected":[{"untrusted_vendor":"Piwigo","untrusted_product":"Piwigo","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"6f4e5992af5496e5629e93501c2ada0b","generated":"2026-11-26T21:07:37.072422Z","es":{"untrusted_title":"Ejecución remota de código por validación insuficiente de extensión en Piwigo","untrusted_summary":"Piwigo anterior a 16.4.0 valida el tipo MIME de logos cargados pero reutiliza la extensión controlada por el atacante al guardar el archivo. Un administrador autenticado puede cargar contenido ejecutable por el servidor, permitiendo ejecución de código arbitrario, divulgación de datos y denegación de servicio."},"en":{"untrusted_title":"Remote Code Execution via Insufficient Extension Validation in Piwigo","untrusted_summary":"Piwigo prior to 16.4.0 validates uploaded logo MIME type but reuses the attacker-controlled extension when storing the file. An authenticated administrator can upload server-executable content, enabling arbitrary code execution, data disclosure, and service disruption."},"remediation":{"status":"fix","fixed_versions":["16.4.0"],"untrusted_action_es":"Actualiza Piwigo a versión 16.4.0 o superior para corregir la validación de extensiones de archivo.","untrusted_action_en":"Update Piwigo to version 16.4.0 or later to fix the file extension validation.","vendor_url":"https://github.com/Piwigo/Piwigo/releases/tag/16.4.0"},"reviewed":false},"references":[{"url":"https://github.com/Piwigo/Piwigo/commit/1e7f7262cb30e6916779f93e66d5d6579ec75a11","tags":[]},{"url":"https://github.com/Piwigo/Piwigo/commit/4a13ec9a8f4881ae1f23bdfd24d7b90cd0802cdc","tags":[]},{"url":"https://github.com/Piwigo/Piwigo/releases/tag/16.4.0","tags":[]},{"url":"https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7w97-5g4p-xqvv","tags":[]}]}}