---
title: "CVE-2026-42322: Piwigo - Command Injection"
description: "Piwigo < 16.4.0 contains a command injection caused by reuse of attacker-controlled file extension in admin/themes_standard_pages.php, letting authenticated administrators execute arbitrary commands via uploaded logos."
url: https://panop.io/threat-heartbeat/CVE-2026-42322/
---

# CVE-2026-42322 Piwigo - Command Injection

Piwigo < 16.4.0 contains a command injection caused by reuse of attacker-controlled file extension in admin/themes\_standard\_pages.php, letting authenticated administrators execute arbitrary commands via uploaded logos.

CVSS base score 9.1 /10

Critical

CISA KEV

Not listed

Public exploit

Proof of concept available

Authentication

Required

EPSS

0.53% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-42322)

## Details

Type

Command Injection

Impact

Remote Code Execution, Information Disclosure, Data Tampering, Denial Of Service

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Published

25 September 2026

Updated

15 October 2026

Weakness

[CWE-434](https://cwe.mitre.org/data/definitions/434.html)

## Vendor fix

Update to version 16.4.0 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-42322](https://nvd.nist.gov/vuln/detail/CVE-2026-42322)
- [https://github.com/Piwigo/Piwigo/releases/tag/16.4.0](https://github.com/Piwigo/Piwigo/releases/tag/16.4.0)
- [https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7w97-5g4p-xqvv](https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7w97-5g4p-xqvv)
- [https://github.com/Piwigo/Piwigo/commit/1e7f7262cb30e6916779f93e66d5d6579ec75a11](https://github.com/Piwigo/Piwigo/commit/1e7f7262cb30e6916779f93e66d5d6579ec75a11)
- [https://github.com/Piwigo/Piwigo/commit/4a13ec9a8f4881ae1f23bdfd24d7b90cd0802cdc](https://github.com/Piwigo/Piwigo/commit/4a13ec9a8f4881ae1f23bdfd24d7b90cd0802cdc)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
