Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-44642 – Unauthenticated SQL Injection / Upgrade Authentication Bypass – Piwigo before 16.4.

Be the first to know when new zero-days emerge:

Summary

CVE-2026-44642 is a SQL injection vulnerability in Piwigo’s upgrade authentication mechanism, affecting all versions prior to 16.4.0. The flaw allows an unauthenticated attacker to bypass administrator credential checks during pending database upgrades by injecting SQL into the username parameter. The issue carries a CVSS v3.1 base score of 8.1 (High), reflecting network exploitability with no authentication required and high impact on confidentiality, integrity, and availability.

Technical details

  • Root cause: The check_upgrade_access_rights() function in admin/include/functions_upgrade.php only escapes the submitted username when the PHP function get_magic_quotes_gpc() exists. This function was removed in PHP 8.0, so on PHP 8+ deployments the escaping branch is silently skipped and the submitted username is concatenated directly into the SQL query used for upgrade authentication.
  • Trigger conditions: The installation must be running on PHP 8 or later and have a pending database upgrade (a common post-update state) for the vulnerable authentication code path to be reachable.
  • Attack vector: An unauthenticated attacker sends a crafted POST request to upgrade.php with a malicious username parameter containing SQL injection payloads (e.g., a UNION SELECT statement crafted to satisfy the status and password checks).
  • Impact: A successful injection can satisfy the upgrade authorization checks and set the internal upgrade flag, allowing the attacker to trigger unauthorized upgrade execution without valid administrator credentials — potentially leading to database integrity changes and service disruption.

Affected software

  • Piwigo (self-hosted photo gallery software) — all versions prior to 16.4.0, when running on PHP 8.0 or later.

Severity

  • CVSS v3.1 Base Score: 8.1 (High)
  • Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Mitigation and recommended actions

  • Immediate: Upgrade to Piwigo 16.4.0 or later, which fixes the conditional escaping logic in the upgrade authentication flow.
  • If immediate patching is not possible: Restrict network access to upgrade.php and the admin/upgrade interface (e.g., via IP allowlisting or a web application firewall rule blocking unauthenticated access to upgrade endpoints), and avoid leaving database upgrades pending for extended periods on internet-facing installations.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge