nday
CVE-2025-12762 GHSA-w2p4-p4rh-qcm3

Remote Code Execution vulnerability when restoring PLAIN-format SQL dumps in server mode (pgAdmin 4)

pgadmin.org / pgAdmin 4

揭露 368 天後出現修補紀錄。已於 pgadmin4 9.10 修補。四個 PoC 來源皆未收錄。目前未列入 CISA KEV。

tags weakness typecode injection accessnetworkno user interaction 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-w2p4-p4rh-qcm3
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L (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:L/A:L (CVSS 3.1) from the CNA PostgreSQL
PyPI
GHSA-w2p4-p4rh-qcm3: pip packages pgadmin4
目前階段
PAT
揭露時間
揭露 → 修補
T+368d
CVSS
9.1 CRITICAL v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2025-11-13T13:00Z
PAT修補
2026-11-16T16:00Z
ANA分析
尚無紀錄
POCPoC
尚無紀錄
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

pgAdmin versions up to 9.9 are affected by a Remote Code Execution (RCE) vulnerability that occurs when running in server mode and performing restores from PLAIN-format dump files. This issue allows attackers to inject and execute arbitrary commands on the server hosting pgAdmin, posing a critical risk to the integrity and security of the database management system and underlying data.

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:L/A:L

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

事件紀錄

+DIS揭露

CVE 紀錄由 PostgreSQL 發布。CVSS 9.1,屬重大等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 360307,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-12762",
  "occurred_at": "2025-11-13T13:00:02.005Z",
  "observed_at": "2026-11-13T05:38:55.229747Z",
  "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:L/A:L",
      "version": "3.1",
      "base_score": 9.1,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2025-11-14T04:55:28.348755Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-11-13T13:00:02.005Z",
    "assigner_short_name": "PostgreSQL"
  }
}
來源無時間;nday 即時觀測
+PAT已有修補

公告列出的修補版本:pgadmin4 9.10。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa GHSA-w2p4-p4rh-qcm3 · nday 於 即時觀測 · 原始
{
  "id": 472989,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-w2p4-p4rh-qcm3",
  "occurred_at": null,
  "observed_at": "2026-11-16T16:00:12.562502Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-w2p4-p4rh-qcm3",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 9.1,
        "vector_string": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Control of Generation of Code",
        "cwe_id": "CWE-94"
      }
    ],
    "ghsa_id": "GHSA-w2p4-p4rh-qcm3",
    "packages": [
      {
        "name": "pgadmin4",
        "ecosystem": "pip",
        "first_patched_version": "9.10",
        "vulnerable_version_range": "< 9.10"
      }
    ],
    "severity": "critical",
    "references": [
      "https://nvd.nist.gov/vuln/detail/CVE-2025-12762",
      "https://github.com/pgadmin-org/pgadmin4/issues/9320",
      "https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836",
      "https://github.com/pypa/advisory-database/tree/main/vulns/pgadmin4/PYSEC-2026-454.yaml",
      "https://pypi.org/project/pgadmin4",
      "https://github.com/advisories/GHSA-w2p4-p4rh-qcm3"
    ],
    "fix_commit_urls": [
      "https://github.com/pgadmin-org/pgadmin4/commit/1d397395f75320ca1d4ed5e9ca721c603415e836"
    ],
    "github_reviewed_at": "2025-11-13T17:39:17Z",
    "advisory_updated_at": "2026-11-16T15:48:55Z",
    "source_code_location": "https://github.com/pgadmin-org/pgadmin4",
    "advisory_published_at": "2025-11-13T15:30:30Z"
  }
}

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.