sadrobot

← Vissza a havi listához

CVE-2026-116249 pgadmin.org · pgAdmin 4

9.6 Kritikus

MI-összefoglaló

A pgAdmin 4 9.19 előtti verzióiban szerver módban egy hitelesített felhasználó útvonal-bejárással más felhasználók jelszófájlját, tanúsítványait vagy SSH-kulcsait használhatja, az sslkeylogfile paraméterrel tetszőleges fájlt hozhat létre, és paraméternevekkel további kapcsolati beállításokat csempészhet be. Kritikus (CVSS 9.6), frissítsen 9.19-re.

Hivatalos leírás

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.

Megjelent
2026-10-30 20:17 UTC
Módosítva
2026-11-09 15:37 UTC
CVSS
9.6 Kritikus CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
EPSS
0.29% (percentilis 14)
ENISA EUVD
EUVD-2026-114390
CISA SSVC
Kihasználás: none · Automatizálható: no · Technikai hatás: total
CWE
CWE-22

CVSS-vektor

Támadási útvonal
hálózatról
Bonyolultság
alacsony
Szükséges jogosultság
alacsony
Felhasználói közreműködés
nem kell
Hatókör
változik
Bizalmasság
magas
Sértetlenség
magas
Rendelkezésre állás
nincs

Hivatkozások