CVE-2026-42323: Piwigo: SQL Injection in Batch Manager

Published Sep 25, 2026
·
Updated

Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, admin/batchmanager.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 bulkmanagerfilter 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 Software

1 affected component
Piwigo piwigo<16.4.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Piwigo to a version that resolves this vulnerability.

    Fixed in 16.4.0

Event History

Sep 25, 2026
CVE Published
via MITRE·03:42 PM
Data Sourced
via MITRE·03:42 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated Piwigo administrator can exploit it by supplying crafted Batch Manager filter values through the URL. The affected inputs include dimension width, height, ratio, and filesize values.

2

Are installations using the normal POST-based Batch Manager filters affected?

The issue is in the URL filter parsing path, which does not apply numeric validation before values are used in SQL predicates. The POST filter path is described as validated.

3

What versions need remediation?

Piwigo versions prior to 16.4.0 are affected. Upgrade to version 16.4.0 to obtain the fix.

4

What could exploitation allow?

A crafted filter can cause SQL expressions to be executed, including time-based expressions. An attacker with administrator access could potentially disclose, modify, or disrupt database data.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203