CVE-2026-85750
JSON

7.2high

Piwigo arbitrary file read and remote code execution via insecure image processing

Severity
7.2high CVSS:3.1 by GitHub_M
Exploit likelihood
1.21% (higher than 69% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
Piwigo Piwigo<= 16.3.0CVE List

Classification

CWE-20

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-85750 changed 2026-09-25CVE Terms of Use
NVDCVE-2026-85750 changed 2026-09-25Public domain