Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as administrator
-
DeliverySend crafted filter parameter to pwg.users.getList
-
ExploitInject malicious SQL into query
-
ExecutionExecute arbitrary SQL commands
-
ImpactExtract 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Directory traversal vulnerability in install.php in Piwigo before 2.4.7 allows remote attackers to read and delete arbit
Cross-site request forgery (CSRF) vulnerability in the LocalFiles Editor plugin in Piwigo before 2.4.7 allows remote att
SQL injection vulnerability in the administrative backend in Piwigo through 2.9.1 allows remote users to execute arbitra
Piwigo 13.6.0 is vulnerable to SQL Injection via in the "profile" function. Rated critical severity (CVSS 9.8), this vul
Piwigo 13.6.0 is vulnerable to SQL Injection via /admin/permalinks.php. Rated critical severity (CVSS 9.8), this vulnera
Piwigo 11.4.0 allows admin/user_list_backend.php order[0][dir] SQL Injection. Rated critical severity (CVSS 9.8), this v
admin.php?page=account_billing in Piwigo 2.9.5 has XSS via the vat_number, billing_name, company, or billing_
admin.php?page=notification_by_mail in Piwigo 2.9.5 has XSS via the nbm_send_html_mail, nbm_send_mai
Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica
Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica
Cross-site request forgery (CSRF) vulnerability in Piwigo through 2.9.1 allows remote attackers to hijack the authentica
admin/configuration.php in Piwigo 2.9.2 has CSRF. Rated high severity (CVSS 8.8), this vulnerability is remotely exploit
EUVD-2026-18872
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB