Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-60799 EUVD-2025-198260GHSA-r63p-v37q-g74c

phppgadmin contains an incorrect access control vulnerability

Published Nov 20, 2025 · Updated Nov 20, 2025 · Assigned by mitre

Description

phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76. The application allows unauthorized manipulation of session variables by accepting user-controlled parameters ('subject', 'server', 'database', 'queryid') without proper validation or access control checks. Attackers can exploit this to store arbitrary SQL queries in $_SESSION['sqlquery'] by manipulating these parameters, potentially leading to session poisoning, stored cross-site scripting, or unauthorized access to sensitive session data.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 phppgadmin No fix yet —
Debian 13 phppgadmin No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 phppgadmin No fix yet —
Ubuntu 26.04 LTS phppgadmin No fix yet —
Ubuntu 25.10 phppgadmin No fix yet —
Ubuntu 24.04 LTS phppgadmin No fix yet —
Ubuntu 22.04 LTS phppgadmin No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS phppgadmin No fix yet —
Ubuntu 18.04 LTS phppgadmin No fix yet —
Ubuntu 16.04 LTS phppgadmin No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phppgadmin/phppgadmin <= 7.13.0 — GHSA-r63p-v37q-g74c

References