CVE-2026-44642: Piwigo - SQL Injection
- Cve: CVE-2026-44642
- Name: Piwigo - SQL Injection
- Description: Piwigo is a full featured open source photo gallery application for the web. Prior to 16.4.0, check_upgrade_access_rights() in admin/include/functions_upgrade.php conditionally escapes the submitted username only when the removed get_magic_quotes_gpc function exists, so PHP 8 and later concatenate an unauthenticated username directly into the upgrade authentication SQL query. When database upgrades are pending, a crafted query result can satisfy the status and password checks, set PHPWG_IN_UPGRADE, and authorize upgrade execution without valid administrator credentials. This can cause unauthorized database integrity changes and service disruption. This vulnerability is fixed in 16.4.0.
- Impact: Unauthenticated attackers can execute unauthorized database upgrades, causing data integrity issues and service disruption.
- Remediation: Update to version 16.4.0 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: data_tampering, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01285
- Epss percentile: 0.7073
- Assignee: [email protected]
- Published at: 2026-09-25T16:17:25Z
- Age in days: 60
- Modified at: 2026-09-25T17:17:08Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-44642
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| piwigo:piwigo | < 16.4.0 | no | cna_alias_text | /v1/products/piwigo/piwigo |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Piwigo/Piwigo | commit, fix, releases, security_advisory | yes | /v1/repositories/Piwigo/Piwigo |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 994040
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports