nday
CVE-2025-2945 GHSA-g73c-fw68-pwx3

pgAdmin 4: Remote Code Execution in Query Tool and Cloud Deployment

pgadmin.org / pgAdmin 4

CVE 공개 592일 후 패치 기록. 해결 버전: pgadmin4 9.2. PoC 출처 4곳 중 1곳 등재: metasploit. CISA KEV 미등재.

tags weakness typecode injection accessnetworkno user interaction exploitationMetasploit ecosystemPyPI
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

code injection
CWE-94, stated by the ADP CISA-ADP, NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0 및 GitHub advisory GHSA-g73c-fw68-pwx3
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA PostgreSQL
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1) from the CNA PostgreSQL
Metasploit
Metasploit modules exploit/multi/http/pgadmin_query_tool_authenticated
PyPI
GHSA-g73c-fw68-pwx3: pip packages pgadmin4
현재 단계
POC
공개
공개 → 패치
T+592d
CVSS
9.9 CRITICAL v3.1

생명주기

가로축 UTC. 점 = 분 단위, 넓은 막대 = 날짜만, 빈 표시 = 불명 또는 추정.
시점 알 수 없음
DIS공개
2025-04-03T12:23Z
PAT패치
2026-11-16T16:00Z
ANA분석
아직 기록 없음
POCPoC
metasploit
ITW악용
아직 기록 없음
KEVKEV
아직 기록 없음

요약

Remote Code Execution security vulnerability in pgAdmin 4 (Query Tool and Cloud Deployment modules).

The vulnerability is associated with the 2 POST endpoints; /sqleditor/query_tool/download, where the query_commited parameter and /cloud/deploy endpoint, where the high_availability parameter is unsafely passed to the Python eval() function, allowing arbitrary code execution.

This issue affects pgAdmin 4: before 9.2.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA PostgreSQL.

이벤트 로그

+DISCVE 공개

CVE 레코드 공개(CNA: PostgreSQL). CVSS 9.9(치명적).

출처 cvelist · nday 일괄 수집 · 원본
{
  "id": 60377,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-2945",
  "occurred_at": "2025-04-03T12:23:14.792Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 9.9,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-04-04T03:55:26.422590Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-04-03T12:23:14.792Z",
    "assigner_short_name": "PostgreSQL"
  }
}
출처 시각 없음, nday 실시간 관측
+PAT패치

보안 권고상 해결 버전: pgadmin4 9.2. 수정 커밋 링크 포함. 보안 권고 게시: . 패치 자체의 배포 시점은 기록되지 않음.

출처 ghsa GHSA-g73c-fw68-pwx3 · nday 실시간 관측 · 원본
{
  "id": 472968,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-g73c-fw68-pwx3",
  "occurred_at": null,
  "observed_at": "2026-11-16T16:00:12.562502Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-g73c-fw68-pwx3",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.9,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Control of Generation of Code",
        "cwe_id": "CWE-94"
      }
    ],
    "ghsa_id": "GHSA-g73c-fw68-pwx3",
    "packages": [
      {
        "name": "pgadmin4",
        "ecosystem": "pip",
        "first_patched_version": "9.2",
        "vulnerable_version_range": "< 9.2"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2025-2945",
      "https://github.com/pgadmin-org/pgadmin4/issues/8603",
      "https://github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-451.yaml",
      "https://pypi.org/project/pgadmin4",
      "https://github.com/advisories/GHSA-g73c-fw68-pwx3"
    ],
    "fix_commit_urls": [
      "https://github.com/pgadmin-org/pgadmin4/commit/75be0bc22d3d8d7620711835db817bd7c021007c"
    ],
    "github_reviewed_at": "2025-04-04T14:23:31Z",
    "advisory_updated_at": "2026-11-16T15:55:39Z",
    "source_code_location": "https://github.com/pgadmin-org/pgadmin4",
    "advisory_published_at": "2025-04-03T15:31:13Z"
  }
}
시점 알 수 없음출처에 시각 정보 없음
+POC공개 PoC

Metasploit에 모듈 있음: exploit/multi/http/pgadmin_query_tool_authenticated (pgAdmin Query Tool authenticated RCE (CVE-2025-2945)). 출처에 모듈 배포 시점 정보 없음.

출처 metasploit exploit/multi/http/pgadmin_query_tool_authenticated · nday 일괄 수집 · 원본
{
  "id": 51332,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/pgadmin_query_tool_authenticated",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/pgadmin_query_tool_authenticated.rb",
    "rank": 600,
    "check": true,
    "title": "pgAdmin Query Tool authenticated RCE (CVE-2025-2945)",
    "cve_ids": [
      "CVE-2025-2945"
    ],
    "fullname": "exploit/multi/http/pgadmin_query_tool_authenticated",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2025-12-17 16:12:31 +0000",
    "vuln_disclosure_date": "2025-04-03"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

연구자 논의

최근 7일간 연구자 0명이 언급

목록의 연구자가 X에서 이 CVE를 언급한 게시물입니다. 원문 그대로 보여 주며 nday는 검증하지 않습니다.

명단의 연구자가 X에서 이 CVE를 언급한 게시물은 아직 수집되지 않았습니다.

Discussion

0 comments

No comments yet.