Vulnerability · Published Nov 20, 2025 · Assigned by mitre
CVE-2025-60799
Medium 6.1
In plain English
A medium-severity improper access control in the phppgadmin package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | phppgadmin | no fix listed | DEBIAN-CVE-2025-60799 |
| Debian:14 | phppgadmin | no fix listed | DEBIAN-CVE-2025-60799 |
| Packagist | phppgadmin/phppgadmin | no fix listed | GHSA-r63p-v37q-g74c |
| Ubuntu:22.04:LTS | phppgadmin | no fix listed | UBUNTU-CVE-2025-60799 |
| Ubuntu:24.04:LTS | phppgadmin | no fix listed | UBUNTU-CVE-2025-60799 |
| Ubuntu:25.10 | phppgadmin | no fix listed | UBUNTU-CVE-2025-60799 |
| Ubuntu:26.04:LTS | phppgadmin | no fix listed | UBUNTU-CVE-2025-60799 |
| Ubuntu:26.10 | phppgadmin | no fix listed | UBUNTU-CVE-2025-60799 |
Affected products (as reported)
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N