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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phppgadmin | No fix yet | — |
| Debian 13 | phppgadmin | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | phppgadmin/phppgadmin | <= 7.13.0 | — | GHSA-g6xh-wrpf-v6j6 |