SQL injection in Piwigo - CVE-2026-27634
Published: April 26, 2026
Piwigo
Detailed vulnerability description
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to SQL injection in ws_std_image_sql_filter() in include/ws_functions.inc.php when processing date filter parameters in guest-accessible API requests. A remote attacker can send a specially crafted request to disclose sensitive information.
The issue affects the f_min_date_available, f_max_date_available, f_min_date_created, and f_max_date_created parameters, and exploitation is possible through the pwg.categories.getImages and pwg.tags.getImages methods when guest access is enabled, which is the default configuration.