What’s Vulnerable › Vulnerabilities
CVE-2026-62262: Piwigo: Unauthenticated SQL injection in `pwg.images.filteredSearch.create`
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-25 · updated 2026-09-29
- Weakness: CWE-89
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.
Affected products
- Piwigo: before 17.0.0beta1
References
- https://github.com/Piwigo/Piwigo/commit/9755d88edf38b94bafdedb0b3aba7304a94e2e5c
- https://github.com/Piwigo/Piwigo/commit/aede490a0b3a6c246f1f4689ca86c8fee377a7ae
- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-hq29-8hhx-5jwc
- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-hq29-8hhx-5jwc
Get alerted when CVE-2026-62262 or the next vulnerability affects your stack