PatchSiren cyber security CVE debrief
CVE-2026-42324 Piwigo CVE debrief
CVE-2026-42324 is a high-severity vulnerability in Piwigo, a full-featured open-source photo gallery application for the web. An authenticated administrator can store a crafted expression in the image_order[] values without enforcing the existing sort-field whitelist, which can be triggered later to disclose, modify, or disrupt database data. The issue is fixed in version 16.4.0.
- Vendor
- Piwigo
- Product
- Unknown
- CVSS
- HIGH 7.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-25
- Original CVE updated
- 2026-09-25
- Advisory published
- 2026-09-25
- Advisory updated
- 2026-09-25
Who should care
Defenders responsible for Piwigo installations, particularly those with administrator access, should assess exposure and prioritize verification and remediation to prevent potential database data disclosure, modification, or disruption.
Why it matters
CVE-2026-42324 is a high-severity vulnerability in Piwigo that allows an authenticated administrator to store a crafted expression, potentially disclosing, modifying, or disrupting database data. Defenders should prioritize verifying and upgrading to Piwigo version 16.4.0 or later.
- Potential database data disclosure
- Potential database data modification
- Potential database data disruption
- Verification of Piwigo version and administrator-controlled image_order[] values
Technical summary
The vulnerability exists in Piwigo's admin/element_set_ranks.php, where administrator-controlled image_order[] values are stored without enforcing the existing sort-field whitelist. The stored album image_order expression is later concatenated into ORDER BY clauses by various PHP files, allowing an authenticated administrator to store a crafted expression and trigger it in a later album or Batch Manager query.
Defensive priority
Defenders should prioritize verifying and upgrading to Piwigo version 16.4.0 or later to prevent potential database data disclosure, modification, or disruption.
Recommended defensive actions
- Verify Piwigo version and upgrade to 16.4.0 or later
- Review administrator-controlled image_order[] values for potential crafted expressions
- Monitor database data for potential disclosure, modification, or disruption
- Perform a thorough review of existing image_order[] values for potential vulnerabilities
- Implement additional logging and monitoring to detect potential exploitation attempts
- Conduct a thorough asset inventory to identify all Piwigo installations
- Review and update incident response plans to include procedures for responding to potential exploitation
Evidence notes
The CVE record and NVD vulnerability detail provide information on the vulnerability, its impact, and the fixed version. However, the exact scope of affected versions and potential exploitation requires further verification.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-42324 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-42324
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-42324 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-42324
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/Piwigo/Piwigo/commit/ba1f803f8cefd3602ccb9c6f0155cd529510288a
-
Source reference
Unverified legacy reference
URL: https://github.com/Piwigo/Piwigo/commit/ef9e65386d76f9c85f1e23a45dd7af14a5b73a47
-
Source reference
Unverified legacy reference
URL: https://github.com/Piwigo/Piwigo/releases/tag/16.4.0
-
Source reference
Unverified legacy reference
URL: https://github.com/Piwigo/Piwigo/security/advisories/GHSA-jhp4-7f82-8f6q
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.