CVE-2023-5002
published medium CVSS 3.1 · 6.0Pgadmin4: remote code execution by an authenticated user
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | pgadmin47.7 and later | Unaffected | Not stated | fedora |
| pgadmin | — | pgadmin0 to < 7.6 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4aarch64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4ppc64le | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4s390x | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4x86_64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktopaarch64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktopppc64le | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
Show 10 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktops390x | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-desktopx86_64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docaarch64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docppc64le | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docs390x | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-docx86_64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgiaarch64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgippc64le | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgis390x | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | pgadmin4-web-uwsgix86_64 | Advisory build | 7.8-1.1 | OPENSUSE-SU-2024:13379-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- fedora · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgadmin4 | 7.7 and later (unaffected · custom) | fedora · cna | |
| pgadmin | pgadmin | 0 to < 7.6 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- RHBZ#2239164 https://bugzilla.redhat.com/show_bug.cgi?id=2239164
- https://github.com/pgadmin-org/pgadmin4/issues/6763
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2S24D3S2GVNGTDNE6SF2OQSOPU3H72UW/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VIRTMQZEE6K7RD37ERZ2UFYFLEUXLQU3/
Provider assertions
3fedora · cna
Pgadmin4: remote code execution by an authenticated user
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 609d9eb65cb6c5397646601fb22ec02b88a7a440b143f7814d941a4ba9639753
- Ingested
- 23 Sep 2026, 08:15:19 UTC
- Source record
- Official CVE record