Skip to main content
CVE-2025-60797VulnerabilityPublished Updated

CVE-2025-60797: phppgadmin · n/a

Affects phppgadminSource CVE Database V5

0

Not known to be exploited · CVSS 6.5 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
GitHubphppgadmin/phppgadminpkg:github/phppgadmin/phppgadminOther threatsAffected
  • <=7.13.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

1. Immediately restrict access to phpPgAdmin interfaces to trusted networks and users only, using network segmentation and firewall rules. 2. Enforce strong authentication mechanisms, including multi-factor authentication, to reduce the risk of credential compromise. 3. Monitor and audit phpPgAdmin access logs for suspicious activity or unauthorized login attempts. 4. Where possible, disable or remove the vulnerable dataexport.php functionality if not required. 5. Implement web application firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting the 'query' parameter. 6. Apply principle of least privilege to database users associated with phpPgAdmin to limit the impact of any successful injection. 7. Stay alert for official patches or updates from phpPgAdmin maintainers and apply them promptly once available. 8. Educate administrators on the risks of executing arbitrary SQL queries and encourage use of parameterized queries or prepared statements in custom scripts. 9. 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.

References

Community reviews

Loading reviews…