CVE-2022-4223 in the critical feed json
pgadmin4 vulnerable to Code Injection
published 3y ago modified 4mo ago also GHSA-3v6v-2x6p-32mc , PYSEC-2026-893 , EUVD-2022-7489
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 80.1%
- EPSS 80.1% chance of exploitation in 30 days, percentile 99.6%
- public exploits
- 0
- none known, plus a Nuclei check
Summary
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.
Patch / fix
- pypi pgadmin4 6.17
- pgadmin pgadmin_4 6.17
Is CVE-2022-4223 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-4223 updated cvss 8.8
pgadmin4: Unauthenticated remote code execution while validating the binary path
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
80.07% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Nuclei template pgAdmin < 6.17 - Unauthenticated Remote Code Execution nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pgadmin4 | <6.17 |
6.17 |
Affected products
- n/a pgadmin4
Classification
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/
vendor-advisory, mailing-list
-
github.com
/pgadmin-org/pgadmin4/issues/5593
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-4223
advisory
-
github.com
/pgadmin-org/pgadmin4
package
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q
web
-
pypi.org
/project/pgadmin4
package
-
github.com
/advisories/GHSA-3v6v-2x6p-32mc
advisory
Sources
- CVE List CVE-2022-4223
- GitHub Advisory GHSA-3v6v-2x6p-32mc
- NVD CVE-2022-4223
- OSV PYSEC-2026-893
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.