Skip to main content

Piwigo EUVDEUVD-2026-18868

| CVE-2026-27634 HIGH
SQL Injection (CWE-89)
2026-04-03 GitHub_M
8.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious SQL in date filter parameter
  2. Delivery
    Send unauthenticated HTTP request to ws_std_image_sql_filter()
  3. Exploit
    Inject SQL code into unvalidated query
  4. Execution
    Execute arbitrary SELECT statements
  5. Impact
    Retrieve user password hashes and 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

Piwigo versions prior to 16.3.0. Remote unauthenticated attacker can inject SQL through date filter parameters (f_min_date_available, f_max_date_available, f_min_date_created, f_max_date_created) in web requests. No victim interaction required. Default configurations vulnerable.

Impact

This vulnerability presents critical real-world risk based on multiple threat indicators. The CVSS 4.0 score of 8.7 reflects the severe combination of network-based attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high confidentiality impact (VC:H). The unauthenticated nature means any internet-accessible Piwigo installation is exploitable without credentials. SQL injection vulnerabilities are well-understood by attackers and easily automatable once parameters are identified. The technical impact extends to full database extraction including password hashes, enabling credential theft and potential lateral movement. While no KEV listing or EPSS score was provided in the intelligence data, and no public exploit code is confirmed at time of analysis, SQL injection is a mature attack technique with abundant tooling support. The availability of a GitHub security advisory and specific commit fix indicates vendor awareness and active remediation, but unpatched instances remain at severe risk. Organizations running internet-facing Piwigo instances should treat this as an urgent patching priority.

Exploit ScenarioDerived

An unauthenticated attacker identifies an internet-facing Piwigo installation running a vulnerable version and sends crafted HTTP requests to the web services API with malicious SQL payloads in date filter parameters such as f_min_date_available. By injecting UNION-based SQL queries or time-based blind injection techniques, the attacker extracts the entire database schema, followed by user account tables containing password hashes. The attacker then cracks weak password hashes offline and uses valid credentials to gain administrative access to the photo gallery, potentially pivoting to the underlying web server if credentials are reused across services.

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 versions prior to 16.3.0 allows unauthenticated remote attackers to extract the entire database, including user password hashes, via unsanitized date filter parameters in the ws_std_image_sql_filter() function. The vulnerability stems from direct SQL concatenation of four date parameters without input validation or escaping. Vendor-released patch available in version 16.3.0. EPSS and KEV data not provided, but the combination of unauthenticated access, low attack complexity, and full database disclosure represents critical risk for internet-facing Piwigo installations.

RemediationAI

Upgrade immediately to Piwigo version 16.3.0 or later, which contains the fix for this SQL injection vulnerability. The security patch is documented in commit 0d5ed1f7778bbe263410446d8cf64594df75bd08 available at https://github.com/Piwigo/Piwigo/commit/0d5ed1f7778bbe263410446d8cf64594df75bd08, and release details are published at https://piwigo.org/release-16.3.0. If immediate patching is not feasible, implement network-level access controls to restrict Piwigo web services to trusted IP ranges, though this is only a temporary mitigation and does not address the underlying code vulnerability. Verify the upgrade completed successfully and review database access logs for suspicious query patterns involving date filter parameters that may indicate prior exploitation attempts.

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 an open-source web-based photo gallery management system written in PHP. The vulnerability exists in the ws_std_image_sql_filter() function, which processes date filtering parameters for image queries. Four parameters (f_min_date_available, f_max_date_available, f_min_date_created, f_max_date_created) are concatenated directly into SQL queries without parameterization, prepared statements, or type validation. This is a classic CWE-89 SQL Injection flaw where user-controlled input reaches database execution context without sanitization. The affected function appears to be part of the web services API layer, making it accessible to unauthenticated requestors. The CPE identifier cpe:2.3:a:piwigo:piwigo indicates the vulnerability affects the core Piwigo application across all versions prior to the patched release.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

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

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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:33 nvd
HIGH 8.7

DescriptionCVE.org

Piwigo is an open source photo gallery application for the web. Prior to version 16.3.0, the four date filter parameters (f_min_date_available, f_max_date_available, f_min_date_created, f_max_date_created) in ws_std_image_sql_filter() are concatenated directly into SQL without any escaping or type validation. This could result in an unauthenticated attacker reading the full database, including user password hashes. 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 an unauthenticated SQL injection vulnerability that allows attackers to extract entire databases including user credentials without authentication. Any internet-facing Piwigo installation on outdated versions is immediately at risk of complete user credential compromise and data breach; organizations running Piwigo must prioritize urgent patching to protect customer and employee data.

Business Impact: Severe
Compensating Controls

Vendor-released patch: version 16.3.0. If immediate patching is not possible: implement network-level access controls to restrict Piwigo web interface to authorized IP ranges only, disable public gallery access temporarily, and monitor for exploitation attempts via WAF rules filtering date filter parameters with SQL syntax characters.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Social Media
1
Sightings
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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