# CVE-2026-27634: Piwigo: Pre-auth SQL injection via date filter parameters in ws_std_image_sql_filter

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 55% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-03T21:33:13.838Z
- Modified: 2026-07-24T22:10:00.140Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Piwigo Piwigo: < 16.3.0; before 16.3.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/Piwigo/Piwigo/security/advisories/GHSA-mgqc-3445-qghq> (exploit, vendor-advisory)
- <https://github.com/Piwigo/Piwigo/commit/0d5ed1f7778bbe263410446d8cf64594df75bd08> (patch)
- <https://piwigo.org/release-16.3.0> (release-notes)

## Sources

- CVE List: [CVE-2026-27634](https://www.cve.org/CVERecord?id=CVE-2026-27634), CVE Terms of Use, modified 2026-04-06
- NVD: [CVE-2026-27634](https://nvd.nist.gov/vuln/detail/CVE-2026-27634), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-27634 · Whole record: https://cve.day/CVE-2026-27634.json · Rebuilt by cve.day 2026-11-25T22:59:17.924Z
