{"api_version":"1","generated_at":"2026-07-23T10:54:46+00:00","cve":"CVE-2022-4223","urls":{"html":"https://cve.report/CVE-2022-4223","api":"https://cve.report/api/cve/CVE-2022-4223.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4223","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4223"},"summary":{"title":"CVE-2022-4223","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-12-13 16:15:00","updated_at":"2023-11-07 03:57:00"},"problem_types":["CWE-862"],"metrics":[],"references":[{"url":"https://github.com/pgadmin-org/pgadmin4/issues/5593","name":"https://github.com/pgadmin-org/pgadmin4/issues/5593","refsource":"MISC","tags":[],"title":"Unauthenticated remote code execution while validating the binary path · Issue #5593 · pgadmin-org/pgadmin4 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/","name":"FEDORA-2022-2d5a6f48e1","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: pgadmin4-6.17-2.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/","name":"FEDORA-2022-2d5a6f48e1","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: pgadmin4-6.17-2.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4223","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4223","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"4223","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"4223","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"pgadmin","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-4223","qid":"283530","title":"Fedora Security Update for pgadmin4 (FEDORA-2022-2d5a6f48e1)"},{"cve":"CVE-2022-4223","qid":"377922","title":"PgAdmin Server Remote Code Execution (RCE) Vulnerability"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-4223","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"pgadmin4","version":{"version_data":[{"version_value":"pgadmin4 6.17"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://github.com/pgadmin-org/pgadmin4/issues/5593","url":"https://github.com/pgadmin-org/pgadmin4/issues/5593"},{"refsource":"FEDORA","name":"FEDORA-2022-2d5a6f48e1","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R5EYTPKHVFSDCETBJI7LBZE4EYHBPN2Q/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-12-13 16:15:00","lastModifiedDate":"2023-11-07 03:57:00","problem_types":["CWE-862"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:pgadmin:*:*:*:*:*:*:*:*","versionEndExcluding":"6.17","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}