CVE-2026-44642
Piwigo is a full featured open source photo gallery application for …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Piwigo/Piwigo/commit/1ff9d04534feb5f8f3cc2d3613c0fe8b51a1c0ba
- github.com/Piwigo/Piwigo/commit/2cfa7a3d194c8b95edde43038d8f5be5a359e785
- github.com/Piwigo/Piwigo/releases/tag/16.4.0
- github.com/Piwigo/Piwigo/security/advisories/GHSA-6wj3-7fhw-gfpm
- nvd.nist.gov/vuln/detail/CVE-2026-44642
- cve.org/CVERecord?id=CVE-2026-44642
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.