SQL injection in Piwigo - CVE-2026-27634

 

SQL injection in Piwigo - CVE-2026-27634

Published: April 26, 2026


Vulnerability identifier: #VU127945
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-27634
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Piwigo.org
Affected software:
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.


How to mitigate CVE-2026-27634

Install security update from vendor's website.

Sources