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.
Published: 2026-09-25
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection that can disclose, modify or disrupt database data
Action: Apply patch
AI Analysis

Impact

admin/batch_manager.php processes administrator‑controlled width, height, ratio and filesize parameters from the query string without numeric validation. Those values are stored in the bulk_manager_filter session and later concatenated into SQL predicates, unlike the validated POST filter path. This flaw allows an authenticated administrator to craft filter values that contain arbitrary SQL expressions, leading to time‑based or other SQL injections that can disclose, modify, or disrupt database data. The weakness is classified as CWE‑89.

Affected Systems

The vulnerability affects the Piwigo photo gallery application, specifically all versions released before 16.4.0. Authorized administrators using the Batch Manager feature are susceptible to exploitation.

Risk and Exploitability

The CVSS score of 7.2 classifies this as High severity. EPSS is not available and the flaw is not listed in the CISA KEV catalog. The attack requires authenticated administrative access via the web interface; therefore, the exploitation likelihood depends on the protection of administrator credentials and the exposure of the Batch Manager endpoint. While no public exploits have been reported, the lack of numeric validation gives attackers a reliable path to inject malicious SQL once they reach the target system.

Generated by OpenCVE AI on September 25, 2026 at 18:49 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Piwigo to version 16.4.0 or later, which contains the official fix for the input validation failure.
  • If an upgrade cannot be performed immediately, restrict or disable access to the admin/batch_manager.php page so only trusted administrators can reach it, or remove the file from the web‑accessible directory.
  • Review any custom modifications that pass width, height, ratio, or filesize values to SQL statements and replace them with strict numeric validation or use of prepared statements to eliminate injection vectors.

Generated by OpenCVE AI on September 25, 2026 at 18:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 28 Sep 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 26 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
First Time appeared Piwigo
Piwigo piwigo
Vendors & Products Piwigo
Piwigo piwigo

Fri, 25 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Piwigo: SQL Injection in Batch Manager
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-28T14:29:29.756Z

Reserved: 2026-04-26T12:37:18.170Z

Link: CVE-2026-42323

cve-icon Vulnrichment

Updated: 2026-09-28T14:29:04.327Z

cve-icon NVD

Status : Deferred

Published: 2026-09-25T16:17:25.607

Modified: 2026-09-28T15:17:17.250

Link: CVE-2026-42323

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T13:00:14Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')