Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2025-60797: phpPgAdmin 7.13.0 and earlier contains a SQL injection vulnerability in dataexport.php at line 118

28
Routine
MEDIUM 6.5UPGRADE

CVE-2025-60797 is a medium-severity flaw (CVSS 6.5) affecting phppgadmin. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 p

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.5 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.3% (top 79%)
CISA exploited listNo
WeaknessCWE-89
Published2025-11-20
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: phppgadmin project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

phppgadmin project phppgadmin UPGRADE
Affected: <= 7.13.0
Fixed in: newer than 7.13.0
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy phppgadmin || rpm -q phppgadmin || phppgadmin --version
2. UPGRADE to newer than 7.13.0 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade phppgadmin
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade phppgadmin
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2025-60797?

phppgadmin: upgrade to newer than 7.13.0. Exact commands for each OS are on this page.

Is CVE-2025-60797 being exploited?

CVE-2025-60797 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2025-60797 affect?

CVE-2025-60797 affects phppgadmin. Severity is medium (CVSS 6.5). 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 parameterizati

How urgent is CVE-2025-60797?

Priority 28/100. No elevated risk signals yet.

Software pages

PHP vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.