CVE-2026-62262 Details
Description
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/ws_functions/pwg.images.php stores the unvalidated value in the search rules, and include/functions_search.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.
A critical SQL injection vulnerability has been identified in Piwigo versions through 17.0.0beta1. The issue arises in the 'pwg.images.filteredSearch.create' function, where an unauthenticated guest can manipulate the 'ratings[]' parameter to inject SQL. This exploitation occurs because the application fails to properly validate the input before using it in SQL queries. The vulnerability allows for error-based or blind SQL injection, enabling attackers to extract database information or cause time-based delays through the public search interface.
As of now, there is no fixed version available. However, the vulnerability can be addressed by validating the 'ratings[]' parameter before it is stored in the search rules, ensuring that only values from the configured rating list are accepted. Additionally, the SQL query builder should avoid using raw filter values, instead deriving both bounds from validated integers.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 25, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Piwigo/Piwigo/commit/9755d88edf38b94bafdedb0b3aba7304a94e2e5c | [email protected] | Source CodeVendor |
| https://github.com/Piwigo/Piwigo/commit/aede490a0b3a6c246f1f4689ca86c8fee377a7ae | [email protected] | Source CodeVendor |
| https://github.com/Piwigo/Piwigo/security/advisories/GHSA-hq29-8hhx-5jwc | [email protected] | AdvisoryExploitTechnical AnalysisVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Piwigo | >= 17.0.0beta1, <= 17.0.0beta1 |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 25, 2026 | New CVE Received | [email protected] |
Volerion