CVE-2023-5002

Pgadmin4: remote code execution by an authenticated user

State
Published
Severity
6.0 Medium
Published
Sep 22, 2023
Updated
Aug 2, 2024
Reserved
Sep 15, 2023

Read the record on cve.org

Description

A flaw was found in pgAdmin. This issue occurs when the pgAdmin server HTTP API validates the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. Versions of pgAdmin prior to 7.6 failed to properly control the server code executed on this API, allowing an authenticated user to run arbitrary commands on the server.

Scores

CVSSScoreVectorSource
3.16.0 MediumCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:Hfedora

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
pgadmin4
  • 7.7 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.