CVE-2026-85750: Piwigo arbitrary file read and RCE in image upload handling

CVE-2026-85750 · Severity: high · CVSS 7.2 · Published 2026-09-25

Piwigo is an open-source web application for managing and sharing photo galleries. When using the Imagick library, it fails to properly validate uploaded image files, allowing an authenticated administrator to disguise malicious SVG content as PNG images. This can lead to unauthorized reading of sensitive server files like configuration and database credentials, and in some cases remote code execution depending on ImageMagick configuration.

Technologies: Piwigo. Vendors: Piwigo.

Quick answers

Is CVE-2026-85750 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-85750 being exploited in the wild.
How severe is CVE-2026-85750?
High severity, with a CVSS score of 7.2, published 25 September 2026.
Which products and versions are affected?
Piwigo through 16.3.0.
Is there a fix for CVE-2026-85750?
A patch was published on 2026-05-03. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-85750 attacked?
It is attacked over the network.
Am I affected by CVE-2026-85750?
Check whether you run Piwigo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The vulnerability stems from improper input validation (CWE-20) in image upload handling when Imagick is enabled. An attacker with admin privileges can upload SVG files with PNG extensions, causing ImageMagick to interpret them as SVG format; by leveraging SVG's reference capabilities and Magick Scripting Language (MSL) support, attackers can read arbitrary files via pseudo-protocols (e.g., text:/etc/passwd) or write files and achieve RCE. The vulnerability affects Piwigo versions through 16.3.0 and was fixed in 16.4.0.

Affected products

  • Piwigo Piwigo through 16.3.0

Timeline

  • 2026-07-18: disclosed
  • 2026-05-03: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.