Security mailing lists by PureSourceCode

CVE-2023-5002

HIGH 8.8CVSS 3.1

pgAdmin failed to properly control the server code

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.

Published
22 Sep 2023
Last modified
7 Jul 2026
Assigned by
patrick@puiterwijk.org
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-ghp8-52vx-77j4PYSEC-2026-1774
Sources
NVDJSONOSV GHSA-ghp8-52vx-77j4JSONOSV PYSEC-2026-1774JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD patrick@puiterwijk.org (Secondary) CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H
OSV GitHub CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H
OSV PyPA CVSS 3.1 MEDIUM 6.0 CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pgadmin pgadmin_4
cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:postgresql:*:*
< 7.7 7.7
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
OSV PyPI pgadmin4 < 7.7 7.7

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 22 Sep 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.