CVE-2025-60799 phppgadmin contains an incorrect access control vulnerability
Attackers can manipulate session variables in phpPgAdmin to store arbitrary SQL queries, leading to session poisoning or unauthorized data access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-60799?
CVE-2025-60799 is a medium-severity missing authorization vulnerability in n/a, published on 20 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
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.
Weakness: CWE-284
Which versions are affected by CVE-2025-60799?
2 open source packages ship an affected version, including phppgadmin/phppgadmin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
phppgadmin/phppgadmin Packagist | All versions to 7.13.0 | None |
phppgadmin/phppgadmin Packagist | All versions to 7.13.0 | None |
Products include Phppgadmin Project Phppgadmin.
How do I fix CVE-2025-60799?
No fix has been published for CVE-2025-60799 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-60799 being exploited?
There is no known exploitation of CVE-2025-60799 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2025-60799, GHSA-r63p-v37q-g74c, UBUNTU-CVE-2025-60799.