Skip to main content

Piwigo CVE-2026-27834

| EUVDEUVD-2026-18872 HIGH
SQL Injection (CWE-89)
2026-04-03 GitHub_M
7.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as administrator
  2. Delivery
    Send crafted filter parameter to pwg.users.getList
  3. Exploit
    Inject malicious SQL into query
  4. Execution
    Execute arbitrary SQL commands
  5. Impact
    Extract or modify database contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authenticated access as administrator to Piwigo versions prior to 16.3.0. Attacker must have admin privileges to access the pwg.users.getList Web Service API method and inject malicious SQL through the filter parameter. No user interaction needed.

Impact

Real-world risk is moderate despite the CVSS base score of 7.2. The CVSS vector reveals critical constraints: while the attack vector is network-based (AV:N) with low complexity (AC:L), the privilege requirement is high (PR:H), meaning only authenticated administrators can exploit this vulnerability. This significantly reduces the attack surface compared to unauthenticated SQL injection vulnerabilities. No EPSS score was provided, and no public exploit code exists at time of analysis. The vulnerability is not listed in CISA KEV, indicating no confirmed active exploitation. SSVC decision factors show limited real-world urgency: exploitation requires compromised admin credentials (not automatable), technical impact is high (full database access potential) but scope is unchanged (S:U). This represents an insider threat scenario or requires prior credential compromise, making it lower priority than internet-facing unauthenticated vulnerabilities. Organizations should prioritize patching for internet-accessible Piwigo installations, but this is not a critical emergency requiring immediate out-of-band updates.

Exploit ScenarioDerived

An attacker who has already compromised administrator credentials for a Piwigo installation authenticates to the web application and accesses the pwg.users.getList Web Service API method. By crafting a malicious filter parameter containing SQL injection payloads such as UNION-based or boolean-based blind SQL injection commands, the attacker can extract sensitive information from the database including user credentials, photo metadata, or application configuration. With low attack complexity and no user interaction required, the attacker could automate data exfiltration or modify database contents to establish persistence, escalate privileges, or manipulate gallery content. The network-based attack vector allows exploitation from any location with access to the Piwigo web interface.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 03, 2026

SQL injection in Piwigo photo gallery application allows authenticated administrators to execute arbitrary SQL commands via the pwg.users.getList Web Service API method. Piwigo versions prior to 16.3.0 are affected due to improper sanitization of the filter parameter, which is directly concatenated into database queries. Vendor-released patch version 16.3.0 addresses this vulnerability. EPSS data not provided; no public exploit identified at time of analysis. Authentication requirements (PR:H) significantly limit attack surface to users with administrative privileges.

RemediationAI

Vendor-released patch: version 16.3.0. Organizations running Piwigo should immediately upgrade to version 16.3.0 or later, which includes the security fix implemented in commit 9df471f16243371dc3725c5262e1632d23c8218a. The patch properly sanitizes the filter parameter in the pwg.users.getList API method to prevent SQL injection. Release notes and upgrade instructions are available at https://piwigo.org/release-16.3.0. As a temporary risk mitigation for environments where immediate patching is not feasible, organizations should audit administrator account access, implement additional authentication controls, review Web Service API access logs for suspicious filter parameters, and consider restricting network access to the Piwigo administrative interface using firewall rules or web application firewall policies. However, these workarounds do not eliminate the vulnerability and should only be considered temporary measures pending upgrade to the patched version.

Affected VersionsENISA

piwigo < 16.3.0

Affected Packages

euvd piwigo fix: 16.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Piwigo is a PHP-based open source photo gallery application that provides Web Service API methods for administrative functions. This vulnerability stems from a classic CWE-89 SQL Injection flaw where user-controlled input from the filter parameter in the pwg.users.getList API endpoint is concatenated directly into SQL queries without parameterization or input validation. The affected component is the Web Service API layer that handles user enumeration and filtering operations. The CPE identifier cpe:2.3:a:piwigo:piwigo indicates this affects the core Piwigo application. SQL injection vulnerabilities of this class allow attackers to break out of the intended query context and inject arbitrary SQL commands, potentially accessing the entire database schema, modifying data, or executing stored procedures depending on database permissions and configuration.

Know when Piwigo gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Apr 16, 2026 - 06:06 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
16.3.0
CVE Published
Apr 03, 2026 - 21:35 nvd
HIGH 7.2

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Piwigo photo gallery versions prior to 16.3.0 contain a SQL injection vulnerability in the administrative API that allows authenticated admins to execute arbitrary database commands, potentially compromising photo galleries and associated data stores. Organizations running Piwigo must prioritize patching to isolate this risk to a trusted administrative user base.

Business Impact: Medium
Compensating Controls

Apply vendor patch version 16.3.0. If immediate patching is not feasible, restrict administrative API access via network segmentation and audit all administrative account activity on the pwg.users.getList API endpoint.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Medium
Technical Impact
Total

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Piwigo

View all
CVE-2013-1469 MEDIUM POC
4.0 Mar 13

Directory traversal vulnerability in install.php in Piwigo before 2.4.7 allows remote attackers to read and delete arbit

CVE-2013-1468 HIGH POC
7.6 Mar 14

Cross-site request forgery (CSRF) vulnerability in the LocalFiles Editor plugin in Piwigo before 2.4.7 allows remote att

CVE-2017-10682 CRITICAL POC
9.8 Jun 29

SQL injection vulnerability in the administrative backend in Piwigo through 2.9.1 allows remote users to execute arbitra

CVE-2023-33362 CRITICAL POC
9.8 May 23

Piwigo 13.6.0 is vulnerable to SQL Injection via in the "profile" function. Rated critical severity (CVSS 9.8), this vul

CVE-2023-33361 CRITICAL POC
9.8 May 23

Piwigo 13.6.0 is vulnerable to SQL Injection via /admin/permalinks.php. Rated critical severity (CVSS 9.8), this vulnera

CVE-2021-32615 CRITICAL POC
9.8 May 13

Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection. Rated critical severity (CVSS 9.8), this v

CVE-2019-13364 CRITICAL POC
9.6 Sep 13

admin.php?page=account_billing in Piwigo 2.9.5 has XSS via the vat&#95;number, billing&#95;name, company, or billing&#95

CVE-2019-13363 CRITICAL POC
9.6 Sep 13

admin.php?page=notification_by_mail in Piwigo 2.9.5 has XSS via the nbm&#95;send&#95;html&#95;mail, nbm&#95;send&#95;mai

CVE-2017-10681 HIGH POC
8.8 Jun 29

Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica

CVE-2017-10680 HIGH POC
8.8 Jun 29

Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica

CVE-2017-10678 HIGH POC
8.8 Jun 29

Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica

CVE-2017-17774 HIGH POC
8.8 Dec 20

admin/configuration.php in Piwigo 2.9.2 has CSRF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy