CVE-2026-62262: Piwigo: Unauthenticated SQL injection in `pwg.images.filteredSearch.create`

Published Sep 25, 2026
·
Updated

Piwigo is a full featured open source photo gallery application for the web. In 17.0.0beta1 and earlier, when rating is enabled, an unauthenticated guest can call pwg.images.filteredSearch.create with a crafted ratings[] value and then open the returned search URL. include/wsfunctions/pwg.images.php stores the unvalidated value in the search rules, and include/functionssearch.inc.php integer-casts only the lower rating bound while concatenating the raw value as the SQL upper bound. This allows error-based or blind extraction of database information and database-dependent time delays through the public search flow. No fixed version is available as of this review.

Affected Software

1 affected component
Piwigo piwigo<=17.0.0beta1

Event History

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

Frequently Asked Questions

1

Who is exposed to this issue?

Piwigo instances that have ratings enabled are exposed through the public search flow. The attack can be performed by an unauthenticated guest, so no account or administrative access is required.

2

What does an attacker need to do to exploit it?

An attacker needs to submit a crafted ratings[] value to pwg.images.filteredSearch.create and then open the returned search URL. The vulnerable handling occurs when the raw value is incorporated as the upper rating bound in the SQL query.

3

Are installations affected by default?

The issue is conditional on ratings being enabled. The provided information does not establish whether ratings are enabled by default.

4

What can be done if a fixed version is not available?

Disable ratings to remove the stated prerequisite for exploitation. No fixed version was available at the time of review.

5

How can defenders assess potential impact?

Review whether ratings are enabled and whether unauthenticated requests to pwg.images.filteredSearch.create are reachable. Requests containing unexpected or malformed ratings[] values followed by access to returned search URLs may indicate attempted exploitation.

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