VDB
KO
CRITICAL 9.9

GHSA-g73c-fw68-pwx3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / pgadmin4
Introduced in: 0 Fixed in: 9.2
Fix pip install --upgrade 'pgadmin4>=9.2'

References