CVE-2026-42322
9.1Piwigo · Piwigo
Piwigo versions prior to 16.4.0 are vulnerable to unrestricted file uploads, allowing an authenticated administrator to achieve arbitrary command execution via a malicious logo file.
Executive summary
A critical vulnerability in Piwigo allows an authenticated administrator to execute arbitrary code on the server by uploading a malicious file through the themes configuration interface.
Vulnerability
The vulnerability is an unrestricted file upload flaw (CWE-434) located in the admin/themes_standard_pages.php script. An authenticated administrator can bypass MIME type validation by manipulating the file extension parameter, resulting in the storage and execution of server-side scripts.
Business impact
The ability to achieve arbitrary code execution poses a severe risk to the entire hosting environment, potentially leading to a full system compromise. Given the CVSS score of 9.1, this flaw allows for unauthorized data access, modification, and potential lateral movement within the network. Such an incident could result in significant reputational damage and prolonged service disruption.
Remediation
Immediate Action: Update the Piwigo application to version 16.4.0 or later immediately to resolve the vulnerable file handling logic.
Proactive Monitoring: Review web server access logs for requests to files within the logo directory that exhibit unexpected extensions or unusual access patterns.
Compensating Controls: Implement strict file system permissions to prevent the web server process from executing files in directories where user-uploaded content is stored.
Exploitation status
Public Exploit Available: No (exploit_available: unknown)
Analyst recommendation
Organizations running Piwigo must prioritize the upgrade to version 16.4.0 to neutralize this critical threat. Because administrative accounts are prime targets for attackers, securing the administrative interface and applying this update is essential to maintaining the integrity and availability of your photo gallery infrastructure.
More Piwigo CVEs
History
- Disclosed CVE record published
- Collected by CVE Brief via github
- Analyst report written
- Published in the daily brief critical section