CVE-2026-27634 Piwigo: Pre-auth SQL injection via date filter parameters in ws_std_image_sql_filter
Unauthenticated attackers can exploit SQL injection in date filters to read the full database, including password hashes, in Piwigo.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-27634?
CVE-2026-27634 is a high-severity SQL injection vulnerability in Piwigo Piwigo, published on 3 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-27634?
It affects 1 product.
Products include Piwigo Piwigo.
How do I fix CVE-2026-27634?
No fix has been published for CVE-2026-27634 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-27634 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-27634 exists.
Other vulnerabilities in Piwigo Piwigo
Sources
Also known as GHSA-mgqc-3445-qghq.