CVE-2026-42322
9.1 CRITICALpublic exploit availablePublished 2026-09-25 · Updated 2026-09-28
AI risk analysis
- Summary
- The flaw allows an authenticated administrator to upload an image with a server-executable extension, leading to arbitrary command execution and other severe impacts.
- Exploitability
- Exploitation requires an authenticated administrator and knowledge of the vulnerability, making it moderately hard to exploit.
- Blast radius
- If exploited, this can result in arbitrary command execution, data disclosure, and service disruption, affecting the entire system.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Piwigo 16.4.0 or later.
Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-434
Public exploit & PoC references
- https://github.com/Piwigo/Piwigo/commit/1e7f7262cb30e6916779f93e66d5d6579ec75a11
- https://github.com/Piwigo/Piwigo/commit/4a13ec9a8f4881ae1f23bdfd24d7b90cd0802cdc
- 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
All references
- https://github.com/Piwigo/Piwigo/commit/1e7f7262cb30e6916779f93e66d5d6579ec75a11
- https://github.com/Piwigo/Piwigo/commit/4a13ec9a8f4881ae1f23bdfd24d7b90cd0802cdc
- 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
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- CRITICALCVE-2026-100714PoC
- HIGHCVE-2026-12264
- CRITICALCVE-2026-13249
- CRITICALCVE-2026-14175
- HIGHCVE-2026-14553
- CRITICALCVE-2026-16618
- CRITICALCVE-2026-18143
- HIGHCVE-2026-36467PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.