Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-60797 EUVD-2025-198269GHSA-927w-vq5c-8gc3

phppgadmin contains a SQL injection vulnerability

Published Nov 20, 2025 · Updated Nov 21, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 phppgadmin No fix yet —
Debian 13 phppgadmin No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 phppgadmin No fix yet —
Ubuntu 26.04 LTS phppgadmin No fix yet —
Ubuntu 25.10 phppgadmin No fix yet —
Ubuntu 24.04 LTS phppgadmin No fix yet —
Ubuntu 22.04 LTS phppgadmin No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS phppgadmin No fix yet —
Ubuntu 18.04 LTS phppgadmin No fix yet —
Ubuntu 16.04 LTS phppgadmin No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist phppgadmin/phppgadmin <= 7.13.0 — GHSA-927w-vq5c-8gc3

References