Command Injection Affecting pgadmin4 package, versions [,7.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
14.62% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PGADMIN4-5916452
  • published24 Sept 2023
  • disclosed22 Sept 2023
  • creditUnknown

Introduced: 22 Sep 2023

CVE-2023-5002  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade pgadmin4 to version 7.7 or higher.

Overview

pgadmin4 is a PostgreSQL Tools

Affected versions of this package are vulnerable to Command Injection when the HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. A user can run arbitrary commands on the server by passing commands as filenames.

NOTE: This issue does not affect pgAdmin's desktop mode.

CVSS Base Scores

version 3.1