Vulnerability · Published Sep 25, 2026 · Assigned by GitHub_M
CVE-2026-85750Piwigo arbitrary file read and remote code execution via insecure image processing
High 7.2
In plain English
A high-severity improper input validation in Piwigo from Piwigo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-j9q6-q52g-g8jw x_refsource_CONFIRM
- https://www.helx.io/en/blog/advisory-piwigo x_refsource_MISC