CVE-2026-27634: Piwigo SQL injection in date filter parameters

CVE-2026-27634 · Severity: critical · CVSS 9.8 · Published 2026-04-03

Piwigo is an open-source photo gallery application used to manage and display image collections on the web. A security flaw allows unauthenticated attackers to bypass security controls and interact directly with the application's database. This could lead to the theft of sensitive information, including user account details and password hashes, potentially compromising the entire installation.

Technologies: Piwigo. Vendors: Piwigo.

Quick answers

Is CVE-2026-27634 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-27634 being exploited in the wild.
How severe is CVE-2026-27634?
Critical severity, with a CVSS score of 9.8, published 3 April 2026.
Which products and versions are affected?
Piwigo < 16.3.0.
Is there a fix for CVE-2026-27634?
A patch was published on 2026-02-24: Version 16.3.0 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-27634 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-27634?
Check whether you run Piwigo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An unauthenticated SQL injection vulnerability exists in Piwigo's ws_std_image_sql_filter() function due to improper neutralization of the f_min_date_available, f_max_date_available, f_min_date_created, and f_max_date_created parameters. These inputs are concatenated directly into SQL queries without escaping or type validation. The vulnerability is reachable via guest-accessible API methods such as pwg.categories.getImages and pwg.tags.getImages when guest access is enabled (the default configuration). Attackers can utilize time-based or error-based techniques to extract sensitive data, including the full database content and user password hashes. The issue is resolved in version 16.3.0 by implementing strict date format validation.

Affected products

  • Piwigo Piwigo < 16.3.0

Timeline

  • 2026-02-24: patched: Version 16.3.0 released
  • 2026-04-01: advisory: GitHub Security Advisory published
  • 2026-04-03: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.