Advisory

PYSEC-2026-454

Also known as: CVE-2025-12762, GHSA-w2p4-p4rh-qcm3

Summary

pgAdmin4 vulnerable to Remote Code Execution (RCE) when running in server mode

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

pgadmin4

PyPI · All systems

Affected

  • introduced 0, fixed 9.10 (ecosystem)

Fixed versions

9.10

Fix

  • Fixed version 9.10
    pip install --upgrade pgadmin4==9.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences