← Back to search

CVE-2026-44642

8.1 HIGHpublic exploit available

Published 2026-09-25 · Updated 2026-09-25

AI risk analysis

Summary
This vulnerability allows unauthenticated users to execute database upgrades and gain unauthorized access, leading to potential database integrity changes and service disruption.
Exploitability
Exploitation is relatively easy if an attacker can craft a query result that satisfies the upgrade conditions. Precondition is the presence of pending database upgrades.
Blast radius
If exploited, this can result in unauthorized database modifications and service disruption affecting all users.
Detection
No reliable host or network indicator is derivable from the published description.
Prioritized remediation
Upgrade to Piwigo 16.4.0 or later.
auth-bypasswebdatabaseupgrade

Analysis generated locally by qwen2.5:7b-instruct (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-89

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.