Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-60798 EUVD-2025-198265GHSA-g6xh-wrpf-v6j6

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 display.php at line 396. The application passes user-controlled input from $_REQUEST['query'] directly to the browseQuery function without proper sanitization. An authenticated attacker can exploit this vulnerability to execute arbitrary SQL commands through malicious query manipulation, potentially leading to complete database compromise.

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-g6xh-wrpf-v6j6

References