CVE-2026-44642

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

No configuration.

History

25 Sep 2026, 17:17

Type Values Removed Values Added
References () https://github.com/Piwigo/Piwigo/security/advisories/GHSA-6wj3-7fhw-gfpm - () https://github.com/Piwigo/Piwigo/security/advisories/GHSA-6wj3-7fhw-gfpm -

25 Sep 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-09-25 16:17

Updated : 2026-09-25 17:17


NVD link : CVE-2026-44642

Mitre link : CVE-2026-44642

CVE.ORG link : CVE-2026-44642


JSON object : View

Products Affected

No product.

CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')