# CVE-2025-60799: phppgadmin contains an incorrect access control vulnerability

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-02)
- Published: 2025-11-20T00:00:00.000Z
- Modified: 2026-11-05T13:10:00.180Z
- Also known as: GHSA-r63p-v37q-g74c
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- phppgadmin/phppgadmin (Packagist): up to 7.13.0
- phppgadmin_project phppgadmin: up to 7.13.0

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76> (product, web)
- <https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-60799> (advisory)
- <https://github.com/phppgadmin/phppgadmin> (package)

## Sources

- CVE List: [CVE-2025-60799](https://www.cve.org/CVERecord?id=CVE-2025-60799), CVE Terms of Use, modified 2025-11-20
- GitHub Advisory Database: [GHSA-r63p-v37q-g74c](https://github.com/advisories/GHSA-r63p-v37q-g74c), CC-BY-4.0, modified 2025-11-21
- NVD: [CVE-2025-60799](https://nvd.nist.gov/vuln/detail/CVE-2025-60799), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-60799 · Whole record: https://cve.day/CVE-2025-60799.json · Rebuilt by cve.day 2026-11-25T22:59:07.865Z
