CVE-2025-60797: phpPgAdmin 7.13.0 and earlier contains a SQL injection
Affects phppgadminSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubphppgadmin/phppgadminpkg:github/phppgadmin/phppgadminOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately restrict access to phpPgAdmin interfaces to trusted networks and users only, using network segmentation and firewall rules.
- Enforce strong authentication mechanisms, including multi-factor authentication, to reduce the risk of credential compromise.
- Monitor and audit phpPgAdmin access logs for suspicious activity or unauthorized login attempts.
- Where possible, disable or remove the vulnerable dataexport.php functionality if not required.
- Implement web application firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting the 'query' parameter.
- Apply principle of least privilege to database users associated with phpPgAdmin to limit the impact of any successful injection.
- Stay alert for official patches or updates from phpPgAdmin maintainers and apply them promptly once available.
- Educate administrators on the risks of executing arbitrary SQL queries and encourage use of parameterized queries or prepared statements in custom scripts.
- Conduct regular vulnerability assessments and penetration tests focusing on database management interfaces.
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.