Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as administrator
-
ExploitAccess Activity List API endpoint
-
ExecutionInject malicious SQL query
-
ImpactExtract sensitive database records
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 | Attacker must be authenticated as an administrator in Piwigo versions prior to 16.3.0. The Activity List API endpoint processes unsanitized input, allowing SQL injection to extract database contents including credentials and emails. No victim interaction required. |
| Impact | Real-world risk is moderately elevated despite the high CVSS score of 7.2. The CVSS vector indicates network accessibility (AV:N) with low attack complexity (AC:L), but critically requires high privileges (PR:H), meaning the attacker must already possess administrator-level credentials. This significantly reduces the attack surface compared to unauthenticated vulnerabilities. No EPSS score was provided, but the requirement for administrative access typically correlates with lower exploitation probability in the wild. The vulnerability is NOT listed in CISA's Known Exploited Vulnerabilities catalog, indicating no confirmed active exploitation. No publicly available exploit code exists at time of analysis. From an SSVC perspective, this requires administrator compromise as a prerequisite, making it non-automatable and dependent on prior credential theft or insider threat scenarios. The technical impact is high (full database extraction possible), but the exploitation barrier is substantial. Priority should be elevated for organizations where administrator account compromise is a realistic threat model, or where Piwigo instances have multiple administrative users with varying trust levels. |
| Exploit ScenarioDerived | An attacker who has compromised administrator credentials (through phishing, credential reuse, or insider access) authenticates to the Piwigo web interface and navigates to the Activity List API endpoint. The attacker crafts a malicious API request containing SQL injection payloads in parameters processed by the vulnerable endpoint, such as inserting UNION-based queries or Boolean-based blind injection techniques. The application executes the malicious SQL against the backend database without proper sanitization, allowing the attacker to extract the complete users table containing password hashes, email addresses, and session tokens, or enumerate photo metadata and access control configurations. The low attack complexity means exploitation requires only basic SQL injection knowledge once administrative access is obtained. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 03, 2026
SQL injection in Piwigo's Activity List API endpoint allows authenticated administrators to extract sensitive database contents including user credentials and email addresses. This vulnerability affects Piwigo versions prior to 16.3.0 and requires high-level privileges (administrator access) to exploit. CVSS score of 7.2 reflects the network-accessible attack vector with low complexity, though exploitation requires prior administrative authentication. No public exploit code or active exploitation (CISA KEV) identified at time of analysis. The vendor has released version 16.3.0 addressing this issue.
RemediationAI
Upgrade immediately to Piwigo version 16.3.0 or later, which contains the vendor-released patch addressing this SQL injection vulnerability. The specific remediation commit is documented at https://github.com/Piwigo/Piwigo/commit/c172d284e11eab4a5dbadd2844d26f734d5c8c72, providing code-level transparency into the fix implementation. Organizations should apply this upgrade through their standard patch management processes, ensuring all Piwigo instances are updated. As an interim risk reduction measure pending upgrade, administrators should audit and restrict administrative account access to only essential personnel, implement strong authentication controls for admin accounts, and monitor database query logs for suspicious Activity List API requests containing SQL metacharacters or unusual query patterns. No workaround exists that fully mitigates the vulnerability without upgrading. Complete release notes and upgrade instructions are available at https://piwigo.org/release-16.3.0.
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
This vulnerability represents a classic SQL injection flaw (CWE-89) in Piwigo, an open-source PHP-based photo gallery web application. The vulnerability exists specifically in the Activity List API endpoint, where insufficient input sanitization or parameterized query usage allows malicious SQL commands to be injected into database queries. SQL injection vulnerabilities occur when user-controllable input is concatenated directly into SQL statements rather than being properly escaped or parameterized. In this case, an authenticated administrator can craft malicious SQL payloads that manipulate the intended database query logic, allowing extraction of arbitrary data from the Piwigo database schema. The affected product (cpe:2.3:a:piwigo:piwigo) is a content management system storing user authentication data, photo metadata, and gallery configuration in its backend database, making the confidentiality impact particularly severe.
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 was discovered in Piwigo affecting the Activity List API endpoint. This vulnerability allows an authenticated administrator to extract sensitive data from the database, including user credentials, email addresses, and all stored content. This issue has been patched in version 16.3.0.
Executive ViewAI
Piwigo versions prior to 16.3.0 contain a SQL injection vulnerability in the Activity List API that allows authenticated administrators to extract sensitive database contents, including user credentials and email addresses. Organizations running affected Piwigo deployments should prioritize patching to prevent insider threats and potential credential compromise.
Vendor-released patch: Piwigo 16.3.0. If immediate patching is not feasible, restrict administrative account access to only essential personnel, disable or isolate the Activity List API endpoint at the network level, and monitor administrative authentication logs for unusual access patterns.
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.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-18874
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB