Skip to content
Sign in
CVE-2026-1162437.7High

pgAdmin 4: Utility binary path can point at a shared storage directory

pgadmin.org · pgAdmin 4

Not in CISA KEVFixed in version 9.19
0.3%probability of exploitation in the next 30 days
25th percentile
050100

Higher than 25% of scored CVEs

7.7HighCVSS
LowHigh

DescriptionNVD

pgAdmin 4 runs pg_dump, pg_restore, pg_dumpall and psql from the binary path a user sets in their preferences. In server mode the binary path was refused only when it lay under the per-user storage directory (STORAGE_DIR), not under a SHARED_STORAGE directory, which ordinary users can upload files to. A user could therefore upload an executable to shared storage, point their binary path at it, and have pgAdmin run it as the operating-system account running pgAdmin. On POSIX, files created through pgAdmin are not executable, so this is exploitable where any file with an executable name can run, such as Windows server mode. The fix checks the binary path against every SHARED_STORAGE directory as well, after expanding $DIR, collapsing ".." and resolving symbolic links, compares directories in a way a different spelling on a case-insensitive filesystem cannot bypass, refuses a path containing a NUL, and enforces the check wherever binary paths are resolved, including for the PSQL tool. This issue affects pgAdmin 4: before 9.19.

Coverage1 article · 1 outlet

First in our coverage: SecurityOnline, 2 Nov.

  1. pgAdmin 4 fixes 15 flaws, including a critical command injection
    SecurityOnline · first in our coverage · mentions it in passing

New articles also arrive in the RSS feed.

References

Updated AboutDevelopersSign in