---
id: CVE-2025-12763
aliases:
  - GHSA-rm79-x4g6-hvg5
  - PYSEC-2026-1776
title: pgAdmin 4 has command injection vulnerability on Windows systems
summary: pgAdmin 4 has command injection vulnerability on Windows systems
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H'
vendor: pgadmin4
product: pgadmin4
ecosystem: pip
affected:
  - pgadmin4 < 9.10
patched:
  - pgadmin4 9.10
published: '2025-11-13'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-rm79-x4g6-hvg5'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12763'
  - url: 'https://github.com/pgadmin-org/pgadmin4/issues/9323'
  - url: >-
      https://github.com/pgadmin-org/pgadmin4/commit/e374edc69239b3e02ecde895e27d9f9e488b87ee
  - url: 'https://github.com/pgadmin-org/pgadmin4'
tags:
  - osv
  - pip
epss: 0.00938
epssPercentile: 0.59249
ingestedAt: '2026-07-08T18:25:52.955Z'
---

## Overview

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.

## Affected packages

- `pgadmin4 < 9.10`

## Remediation

Upgrade to a patched release:

- `pgadmin4 9.10`
