CVE-2022-4223Pgadmin 4
High 8.8 No auth needed
Follow: this CVE · Pgadmin · Pgadmin 4 We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 4.0% probability of exploitation in 30 days · percentile 91
- Auth required
- No
- Published
- Dec 13, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
The pgAdmin server includes an HTTP API that is intended to be used to validate the path a user selects to external PostgreSQL utilities such as pg_dump and pg_restore. The utility is executed by the server to determine what PostgreSQL version it is from. Versions of pgAdmin prior to 6.17 failed to properly secure this API, which could allow an unauthenticated user to call it with a path of their choosing, such as a UNC path to a server they control on a Windows machine. This would cause an appropriately named executable in the target path to be executed by the pgAdmin server.
What to do
- Apply the vendor's security update for Pgadmin 4.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pgadmin4 |
< 6.17 |
6.17 |
pip install "pgadmin4>=6.17" |
| PyPI | pgadmin4 |
< 6.17 |
6.17 |
pip install "pgadmin4>=6.17" |
Per OSV / GitHub Advisories (GHSA-3v6v-2x6p-32mc, PYSEC-2026-893). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pgadmin | pgadmin_4 | < 6.17 |
| fedoraproject | fedora | 37 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- lists.fedoraproject.org Mailing List