Vulnerability · Published Nov 20, 2025 · Assigned by mitre
CVE-2025-60797
Medium 6.5
In plain English
A medium-severity SQL injection 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.3% (higher than 21% of all known vulnerabilities).
Official description
phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118. The application directly executes user-supplied SQL queries from the $_REQUEST['query'] parameter without any sanitization or parameterization via $data->conn->Execute($_REQUEST['query']). An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to complete database compromise, data theft, or privilege escalation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | phppgadmin | no fix listed | DEBIAN-CVE-2025-60797 |
| Debian:14 | phppgadmin | no fix listed | DEBIAN-CVE-2025-60797 |
| Packagist | phppgadmin/phppgadmin | no fix listed | GHSA-927w-vq5c-8gc3 |
| Ubuntu:22.04:LTS | phppgadmin | no fix listed | UBUNTU-CVE-2025-60797 |
| Ubuntu:24.04:LTS | phppgadmin | no fix listed | UBUNTU-CVE-2025-60797 |
| Ubuntu:25.10 | phppgadmin | no fix listed | UBUNTU-CVE-2025-60797 |
| Ubuntu:26.04:LTS | phppgadmin | no fix listed | UBUNTU-CVE-2025-60797 |
| Ubuntu:26.10 | phppgadmin | no fix listed | UBUNTU-CVE-2025-60797 |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N