CVE-2022-4223 in Fedoraproject Fedora and 1 more product
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 t...
Affects 2 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fedoraproject | Fedora | 37 |
| Pgadmin | Pgadmin 4 | < 6.17 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-4223 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-063867-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2022-12-13 |
| Last modified | 2025-04-14 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-94: Code Injection
Attacker injects arbitrary code that is executed by the application process.
CWE-862: Missing Authorization
Software does not check whether an authenticated actor has permission for the requested operation.
Related attack patterns (CAPEC)
CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-94
CAPEC-665 Exploitation of Thunderbolt Protection Flaws via CWE-862
CAPEC-77 Manipulating User-Controlled Variables via CWE-94
CAPEC-242 Code Injection via CWE-94
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2022-4223 affects pgAdmin versions prior to 6.17, where an unauthenticated user can exploit an insecure HTTP API to execute arbitrary commands on the server by specifying a malicious path to external PostgreSQL utilities.
The vulnerability lies in the pgAdmin server's HTTP API used for validating paths to external PostgreSQL utilities. An attacker can craft a request to this API with a malicious path, leading to command execution with the privileges of the pgAdmin server process.
Questions
What is CVE-2022-4223?
CVE-2022-4223 affects pgAdmin versions prior to 6.17, where an unauthenticated user can exploit an insecure HTTP API to execute arbitrary commands on the server by specifying a malicious path to external PostgreSQL utilities.
What is the CVSS score for CVE-2022-4223?
CVE-2022-4223 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 4.0%.
Is CVE-2022-4223 actively exploited?
No confirmed active exploitation of CVE-2022-4223 as of 2026-05-30.
How do I remediate CVE-2022-4223?
Priority: IMMEDIATE.
What systems are affected by CVE-2022-4223?
CVE-2022-4223 affects Fedoraproject Fedora; Pgadmin Pgadmin 4.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fedoraproject","product":"Fedora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-04-14.