Vulnerability · Published Sep 25, 2026 · Assigned by GitHub_M
CVE-2026-42323Piwigo: SQL Injection in Batch Manager
High 7.2
In plain English
A high-severity SQL injection in Piwigo from Piwigo. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities).
Official description
Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, admin/batch_manager.php accepts administrator-controlled dimension width, height, and ratio values and filesize values from the Batch Manager filter URL without numeric validation. The URL filter parser stores those values in the bulk_manager_filter session state, and later query construction concatenates them into SQL predicates, unlike the validated POST filter path. An authenticated administrator can use crafted filter values to execute time-based or other SQL expressions and potentially disclose, modify, or disrupt database data. This issue is fixed in version 16.4.0.
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7r67-9xhq-7p2c x_refsource_CONFIRM
- https://github.com/Piwigo/Piwigo/commit/c7e30da5c1775b531ce9a30aac04134cd714b472 x_refsource_MISC
- https://github.com/Piwigo/Piwigo/commit/e4f0989d350d66207066ea61f8ee8c137164fb2f x_refsource_MISC
- https://github.com/Piwigo/Piwigo/releases/tag/16.4.0 x_refsource_MISC