CVE-2026-85750 Details
Description
Piwigo before v16.4.0 is vulnerable to arbitrary file read and remote code execution in image upload handling when using the Imagick library due to insufficient validation and unsafe processing of user-supplied image files. By abusing format confusion (e.g., disguising SVG content as PNG), an attacker can trigger unintended interpretation of embedded SVG elements that reference local files. In more advanced scenarios, the Imagick support for Magick Scripting Language (MSL) may be abused to process attacker-controlled instructions, potentially leading to unauthorized server-side file writes and remote code execution, depending on configuration. This has been patched in 16.4.0.
A vulnerability in Piwigo versions through 16.3.0 allows arbitrary file read and remote code execution via unsafe image processing with the Imagick library. The issue arises from inadequate validation of user-uploaded image files, enabling attackers to exploit format confusion—such as disguising SVG content as PNG. This manipulation can lead to unauthorized access to local server files or, in more advanced cases, execution of malicious code on the server, depending on the Imagick configuration.
Users are advised to upgrade to Piwigo version 16.4.0 or later. For those unable to upgrade immediately, it is recommended to validate uploaded files based on their actual MIME type and magic bytes, sanitize SVG files to remove harmful elements and resource references, and adjust the ImageMagick security policy to disable risky features, particularly SVG, MSL, and TEXT.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 25, 2026CISA-ADP
Assessed Sep 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Piwigo/Piwigo/security/advisories/GHSA-j9q6-q52g-g8jw | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/Piwigo/Piwigo/security/advisories/GHSA-j9q6-q52g-g8jw | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.helx.io/en/blog/advisory-piwigo | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Piwigo | <= 16.3.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 25, 2026 | CVE Modified | CISA-ADP |
| Sep 25, 2026 | New CVE Received | [email protected] |
Volerion