Skip to main content

Piwigo EUVDEUVD-2026-18874

| CVE-2026-27885 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. Exploit
    Access Activity List API endpoint
  3. Execution
    Inject malicious SQL query
  4. Impact
    Extract 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.

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'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

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

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

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:36 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 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

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
High
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.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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