Arbitrary file upload in Piwigo
CVE-2026-42322
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
- Piwigo — versions < 16.4.0
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-42322?
- CVE-2026-42322 is a critical-severity vulnerability in Piwigo, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.1/10. Published 2026-09-25.
- How severe is CVE-2026-42322?
- Critical severity. CVSS v3 base score is 9.1 out of 10.