Advisory

PYSEC-2026-1776

Also known as: CVE-2025-12763, GHSA-rm79-x4g6-hvg5

Summary

pgAdmin 4 has command injection vulnerability on Windows systems

Details

pgAdmin 4 versions up to 9.9 are affected by a command injection vulnerability on Windows systems. This issue is caused by the use of shell=True during backup and restore operations, enabling attackers to execute arbitrary system commands by providing specially crafted file path input.

Severity

Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:48 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