Advisory

GHSA-g73c-fw68-pwx3

Also known as: CVE-2025-2945, PYSEC-2026-451

Summary

pgAdmin 4 Vulnerable to Remote Code Execution

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-04-03 15:31 UTC
Modified
2026-11-16 16:00 UTC

Affected packages and fixes

pgadmin4

PyPI · All systems

Affected

  • introduced 0, fixed 9.2 (ecosystem)

Fixed versions

9.2

Fix

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

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences