Piwigo: SQL Injection in Batch Manager
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-42323
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 04:01 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-42323
Complete source record
{
"id": "f83f693cff313c8e042f8e56be4a69ff37516f790f625753269d55d365963d43",
"url": "https://osv.dev/vulnerability/CVE-2026-42323",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Piwigo: SQL Injection in Batch Manager",
"summary": "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.",
"evidence": "osv:CVE-2026-42323",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-42323",
"aliases": [
"CVE-2026-42323",
"GHSA-7r67-9xhq-7p2c"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/piwigo/piwigo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bef1a4ac424b4e986589e4cfc9f4d134f1b16f15"
},
{
"fixed": "c7e30da5c1775b531ce9a30aac04134cd714b472"
},
{
"fixed": "e4f0989d350d66207066ea61f8ee8c137164fb2f"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "16.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "c7e30da5c1775b531ce9a30aac04134cd714b472"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e4f0989d350d66207066ea61f8ee8c137164fb2f"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "bef1a4ac424b4e986589e4cfc9f4d134f1b16f15"
}
],
"source": "REFERENCES_TAG",
"original_tag": "16.4.0"
}
]
}
}
],
"versions": [
"16.3.0",
"16.2.0",
"16.1.0",
"16.0.0",
"16.0.0RC3",
"16.0.0RC2",
"16.0.0RC1",
"16.0.0beta2",
"16.0.0beta1",
"15.0.0beta3",
"15.0.0beta2",
"15.0.0beta1",
"14.0.0RC2",
"14.0.0RC1",
"14.0.0beta3",
"14.0.0beta2",
"14.0.0beta1",
"13.0.0RC4",
"13.0.0RC3",
"13.0.0RC2",
"13.0.0RC1",
"13.0.0beta2",
"13.0.0beta1",
"12.0.0RC2",
"12.0.0RC1",
"12.0.0beta2",
"12.0.0beta1",
"2.11.0beta4",
"2.11.0beta3",
"2.11.0beta2",
"2.11.0beta1",
"2.10.0RC1",
"2.10.0beta2",
"2.10.0beta1",
"2.9.0RC2",
"2.9.0RC1",
"2.9.0beta2",
"2.9.0beta1",
"2.8.0RC2",
"2.8.0RC1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42323.json"
}
}
],
"modified": "2026-10-28T02:30:49.365873010Z",
"provider": "osv",
"references": [
"https://github.com/Piwigo/Piwigo/releases/tag/16.4.0",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42323.json",
"https://github.com/Piwigo/Piwigo/security/advisories/GHSA-7r67-9xhq-7p2c",
"https://nvd.nist.gov/vuln/detail/CVE-2026-42323",
"https://github.com/Piwigo/Piwigo/commit/c7e30da5c1775b531ce9a30aac04134cd714b472",
"https://github.com/Piwigo/Piwigo/commit/e4f0989d350d66207066ea61f8ee8c137164fb2f"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42323.json"
}
},
"related_cves": [
{
"value": "CVE-2026-42323",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 517960,
"published_at": "2026-09-25T15:42:01.688+00:00"
}