CVE-2026-27834

Piwigo: SQL Injection in pwg.users.getList API Method via filter Parameter

Published Apr 3, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
Piwigo is an open source photo gallery application for the web. Prior to version 16.3.0, a SQL Injection vulnerability exists in the pwg.users.getList Web Service API method. The filter parameter is directly concatenated into a SQL query without proper sanitization, allowing authenticated administrators to execute arbitrary SQL commands. This issue has been patched in version 16.3.0.

Analysis

AI-generated

Technical impact

Piwigo, a popular web photo gallery application, has a flaw in the pwg.users.getList Web Service API. The filter parameter is concatenated straight into a SQL query without sanitization, creating a classic SQL injection vulnerability (CWE‑89). Since the API requires an authenticated administrator, an attacker who logs in with admin rights can run arbitrary SQL statements. This can lead to data exposure, modification, or deletion, and in some configurations may even trigger privileged operations on the underlying database server.

Affected Systems

All Piwigo installations running a version earlier than 16.3.0 are vulnerable. The issue is addressed in Piwigo version 16.3.0, which removes the unsanitized filter usage.

Risk and Exploitability

The vulnerability has a CVSS score of 7.2, indicating high severity. The EPSS score is below 1 %, showing a low predicted exploit frequency, and it is not listed in CISA’s KEV catalog. Exploitation requires the attacker to have administrator authentication to the site and knowledge of the API. Once authenticated, the injected SQL can be executed with the privileges of the administrator or the database user used by Piwigo.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Piwigo to version 16.3.0 or later.
  • If an immediate upgrade is not possible, restrict API access to trusted administrators and monitor logs for anomalous queries.
  • Verify that the web server and database are not exposed to public networks without proper authentication.

Generated by OpenCVE AI on April 9, 2026 at 22:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:piwigo:piwigo:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Piwigo
Piwigo piwigo
Vendors & Products Piwigo
Piwigo piwigo
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Piwigo is an open source photo gallery application for the web. Prior to version 16.3.0, a SQL Injection vulnerability exists in the pwg.users.getList Web Service API method. The filter parameter is directly concatenated into a SQL query without proper sanitization, allowing authenticated administrators to execute arbitrary SQL commands. This issue has been patched in version 16.3.0.
Title Piwigo: SQL Injection in pwg.users.getList API Method via filter Parameter
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 6, 2026, 3:42 PM
Reserved
Feb 24, 2026, 2:32 AM
Status
Analyzed
Published
Apr 3, 2026, 10:16 PM
Modified
Jul 24, 2026, 10:10 PM