What’s Vulnerable › Vulnerabilities
CVE-2026-27634: Piwigo: Pre-auth SQL injection via date filter parameters in ws_std_image_sql_filter
- Severity: critical (CVSS 9.8 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: yes
- Published: 2026-04-03 · updated 2026-07-24
- Weakness: CWE-89
Description
Piwigo is an open source photo gallery application for the web. Prior to version 16.3.0, the four date filter parameters (f_min_date_available, f_max_date_available, f_min_date_created, f_max_date_created) in ws_std_image_sql_filter() are concatenated directly into SQL without any escaping or type validation. This could result in an unauthenticated attacker reading the full database, including user password hashes. This issue has been patched in version 16.3.0.
Affected products
- Piwigo: before 16.3.0 — fixed in 16.3.0
How to fix
Upgrade to a fixed version: Piwigo 16.3.0. Check the vendor advisory for mitigations.
References
- https://github.com/Piwigo/Piwigo/commit/0d5ed1f7778bbe263410446d8cf64594df75bd08
- https://github.com/Piwigo/Piwigo/security/advisories/GHSA-mgqc-3445-qghq
- https://piwigo.org/release-16.3.0
Get alerted when CVE-2026-27634 or the next vulnerability affects your stack