Patchfirst
CVE-2026-116249 Critical · 9.6 EPSS 0.2%

pgAdmin 4: Connection file paths and parameter keys escape the user's storage directory

No fixed version listed yet.Check the vendor advisory. References ↓

pgadmin.org · pgAdmin 4

Official description · NVD

In server mode pgAdmin 4 resolves a server's password file, SSL certificate, key, CRL and SSH tunnel identity file relative to the user's storage directory, but get_complete_file_path() only stripped leading slashes before joining the two. A path such as "../<another user>/.pgpass", set through the server dialog, the REST API or a servers.json import, therefore named another user's file, and connecting used that user's saved passwords, client certificate or SSH key. The sslkeylogfile connection parameter was passed to libpq unchanged, so a path outside storage let libpq create or append a file as the account running pgAdmin. make_conninfo() also quoted connection parameter values but not their names, so a crafted parameter name could smuggle additional keyword=value pairs past these checks. The fix requires the resolved path, with symbolic links followed, to stay inside the user's storage directory or the named shared storage directory, confines sslkeylogfile the same way, and accepts only exact libpq keywords as connection parameter names. A refused path or keyword is reported instead of letting libpq fall back to a default. This issue affects pgAdmin 4: before 9.19.

Breakdown
11.8 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 30 Oct 2026. No public exploit code or confirmed exploitation is recorded.

See the family tree

20 related vulnerabilities in the same code over 2 years.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2024-4215The Multi Factor Authentication bypass vulnerability in pgAdmin…2 May 2024
  2. same family
    CVE-2026-17351pgAdmin 4: AI Assistant read-only transaction bypass via…31 Jul 2026
  3. same family
    CVE-2026-116242pgAdmin 4: SSH tunnels use the pgAdmin service account's own SSH…30 Oct 2026
  4. same family
    CVE-2026-116244pgAdmin 4: libpq uses the pgAdmin service account's Kerberos…30 Oct 2026
  5. relatedMedium

    Why these are linked:

    • Same code patched: config.py, __init__.py, processes.py, server_manager.py (machine-matched)Functions: _set_env_variables, create_app, create_connection_stringcommit 145e511commit a0c8f48
    CVE-2026-116245pgAdmin 4: Connection services are not restricted in server mode30 Oct 2026
  6. relatedMedium

    Why these are linked:

    • Same code patched: processes.py, __init__.py, __init__.py, constants.py, server_manager.py (machine-matched)Functions: MessageType, _set_env_variables, create_connection_string, set_valuecommit a0c8f48commit 32db693
    CVE-2026-116247pgAdmin 4: libpq uses the pgAdmin service account's own password…30 Oct 2026
  7. relatedMedium

    Why these are linked:

    • Same code patched: processes.py, __init__.py, server_manager.py (machine-matched)Functions: create_connection_string, get_complete_file_pathcommit 32db693commit 2afe505
    This CVECVE-2026-116249pgAdmin 4: Connection file paths and parameter keys escape the…30 Oct 2026

13 more CVEs are in this family. See the family tree

Affected versions and fixes

as published in the CVE record

pgadmin.org pgAdmin 4

Affected: < 9.19

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close