跳到正文
CVE-high(cvefeed.io)·· 5 小時前精選品質評分83

CVE-2026-116249:pgAdmin 4 連線檔案路徑與引數鍵可跨使用者儲存目錄

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

重點導讀

pgAdmin 4 於 9.19 之前版本存在路徑遍歷與引數注入漏洞,攻擊者可透過設定檔或 REST API 指向其他使用者的憑證,進而取得其密碼、憑證或 SSH 金鑰。

推薦理由

此漏洞可使攻擊者取得其他使用者的憑證,提醒使用者即時升級至 9.19 以避免潛在資料外洩風險,並建議在升級前備份設定檔,確保配置安全。

正文 · 原文

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.

Impact

Affected Products

The following products are affected by CVE-2026-116249 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Pgadmin pgadmin_4

The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.

Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 3.1 HIGH MITRE-CVE
CVSS 4.0 HIGH f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS 4.0 HIGH f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

Update pgAdmin 4 to version 9.19 or later to fix path traversal and parameter smuggling vulnerabilities.

  • Update pgAdmin 4 to version 9.19 or later.
  • Validate server configuration files after update.
  • Ensure user storage directories are properly secured.

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-116249.

URL Resource
https://github.com/pgadmin-org/pgadmin4/commit/2afe505ef4a31591796449d54ab1604355ff06c2
https://github.com/pgadmin-org/pgadmin4/issues/10650

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-116249 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-116249 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-116249 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-116249 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

    十月. 30, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added CVSS V4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
    Added CWE CWE-22
    Added CWE CWE-73
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/116xxx/CVE-2026-116249.json">CVE-2026-116249</a>
    Added Reference https://github.com/pgadmin-org/pgadmin4/commit/2afe505ef4a31591796449d54ab1604355ff06c2
    Added Reference https://github.com/pgadmin-org/pgadmin4/issues/10650

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.

來源: CVE-high (cvefeed.io)
開啟原文