CVE-2026-27634
JSON

8.7high

Piwigo: Pre-auth SQL injection via date filter parameters in ws_std_image_sql_filter

Severity
8.7high CVSS:4.0 by GitHub_M
Exploit likelihood
0.92% (higher than 59% of CVEs)
Published
Last changed
Assigned by
GitHub_M

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

Product or packageVersionsReported by
Piwigo Piwigo< 16.3.0, before 16.3.0CVE List, NVD

All scores

GitHub_M8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Piwigo es una aplicación de galería de fotos de código abierto para la web. Antes de la versión 16.3.0, los cuatro parámetros de filtro de fecha (f_min_date_available, f_max_date_available, f_min_date_created, f_max_date_created) en ws_std_image_sql_filter() se concatenan directamente en SQL sin ningún escape o validación de tipo. Esto podría resultar en que un atacante no autenticado leyera la base de datos completa, incluyendo los hashes de las contraseñas de los usuarios. Este problema ha sido parcheado en la versión 16.3.0.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27634 changed 2026-04-06CVE Terms of Use
NVDCVE-2026-27634 changed 2026-07-24Public domain