{"id":"CVE-2026-44642","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-44642","generatedAt":"2026-10-28T06:35:17.101Z","title":"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.","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.","published":"2026-09-25T16:17:26.000Z","lastModified":"2026-09-25T17:17:09.000Z","status":"Deferred","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-89"],"affected":[],"epss":{"score":0.01285,"percentile":0.69975,"date":"2026-10-27","history":[{"date":"2026-09-26","score":0.01285,"percentile":0.68939}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.29%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[{"kind":"new","label":"New CVE","at":"2026-09-25T16:17:26.000Z","detail":{"score":"8.1","severity":"HIGH","publishedAt":"2026-09-25T16:17:25.970Z"},"summary":"New CVE, high severity (CVSS 8.1)."}],"references":[{"url":"https://github.com/Piwigo/Piwigo/commit/1ff9d04534feb5f8f3cc2d3613c0fe8b51a1c0ba","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/commit/2cfa7a3d194c8b95edde43038d8f5be5a359e785","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/releases/tag/16.4.0","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/security/advisories/GHSA-6wj3-7fhw-gfpm","source":"security-advisories@github.com"},{"url":"https://github.com/Piwigo/Piwigo/security/advisories/GHSA-6wj3-7fhw-gfpm","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-44642","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}