CVE-2026-42322
published critical CVSS 3.1 · 9.1Piwigo: Authenticated RCE via File Upload in Logo Upload Feature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Piwigo | — | Piwigo< 16.4.0 | Affected | Not stated | GitHub_M |
Description
Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, admin/themes_standard_pages.php validates uploaded logo content by MIME type but reuses the attacker-controlled extension from std_pgs_logo when constructing the stored filename. An authenticated administrator can upload image content with a server-executable final extension, causing the file to be placed in the web-accessible logo directory and executed when requested if the web server handles that extension. This can permit arbitrary command execution, data disclosure, modification, persistence, and service disruption. This vulnerability is fixed in 16.4.0.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Piwigo | Piwigo | < 16.4.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-434 CWE-434: Unrestricted Upload of File with Dangerous Type
References
4Provider assertions
2GitHub_M · cna
Piwigo: Authenticated RCE via File Upload in Logo Upload Feature
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 26625d80ad7a24140d7932ea01f8939cdda68e87c272c96a787597e40fea4550
- Ingested
- 30 Sep 2026, 15:22:04 UTC
- Source record
- Official CVE record