CVE Catalog

CVE-2026-85750

HighCVSS 7.2
Published: Updated: Translated: NVD NIST

Summary

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, Imagick's 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. This has been patched in 16.4.0.

Risk Assessment

An attacker can read arbitrary files from the server and execute remote code, potentially leading to full server takeover and data leakage.

Recommendation

Upgrade Piwigo to version 16.4.0 or later. Consider restricting image format handling in the Imagick library.

Other vulnerabilities in Piwigo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS