CVE-2025-60799
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.
What to do
Debian, Packagist, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | phppgadmin | Fix pending | UBUNTU-CVE-2025-60799 | |
| Ubuntu 26.04 | phppgadmin | Under investigation | UBUNTU-CVE-2025-60799 | |
| Ubuntu 25.10 | phppgadmin | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-60799 | |
| Ubuntu 24.04 | phppgadmin | Under investigation | UBUNTU-CVE-2025-60799 | |
| Ubuntu 22.04 | phppgadmin | Under investigation | UBUNTU-CVE-2025-60799 | |
| Ubuntu 20.04 | phppgadmin | Fix pending | UBUNTU-CVE-2025-60799 | |
| Ubuntu 18.04 | phppgadmin | Fix pending | UBUNTU-CVE-2025-60799 | |
| Ubuntu 16.04 | phppgadmin | Fix pending | UBUNTU-CVE-2025-60799 | |
| Debian 14 | phppgadmin | Fix pending | DEBIAN-CVE-2025-60799 | |
| Debian 13 | phppgadmin | Fix pending | DEBIAN-CVE-2025-60799 | |
| Packagist library | phppgadmin/phppgadmin | Fix pending | GHSA-r63p-v37q-g74c |
References
- https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76
- https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.