VULNERABILITY INTELLIGENCE
CVE-2023-5002
CVSS score6 MEDIUM
EPSS probability1.78%
CISA KEVNot currently listed
Published2023-09-22
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H
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.
Weakness classification
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Primary references
- patrick@puiterwijk.org — Issue Tracking, Third Party Advisory
- patrick@puiterwijk.org — Issue Tracking, Patch
- patrick@puiterwijk.org — Mailing List
- patrick@puiterwijk.org — Mailing List
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Patch
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List