CVE Catalog

CVE-2026-44642

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Summary

Piwigo before version 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.

Risk Assessment

An attacker could unauthorizedly execute a database upgrade, leading to data integrity changes and service disruption. This may result in data corruption or application unavailability.

Recommendation

Update Piwigo to version 16.4.0. Ensure there are no pending database upgrades and restrict access to upgrade scripts.

Other vulnerabilities in Piwigo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS