Skip to content
Vulnerability Intelligence

CVE-2022-4223

High

pgadmin4 vulnerable to Code Injection

Published Dec 13, 2022 · Updated Aug 12, 2026 · Also known as GHSA-3v6v-2x6p-32mc, PYSEC-2026-893

Key Facts

Patch immediately
  • CVE-2022-4223 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Pgadmin 4, Fedora (Fedoraproject), pgadmin4 (pypi).
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 80% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Pgadmin 4 6.17, pgadmin4 6.17.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

80%

Higher than 99.6% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2022-4223 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

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.

Affected Products

4 affected entries in total
ProductAffected versionsFixed in
Pgadmin 4PgadminSee advisory6.17
FedoraFedoraproject37n/a
pgadmin4pypi>= pgadmin4 6.176.17

Patched Releases

Pgadmin 4

6.17

pgadmin4

6.17

Timeline

  1. Publicly disclosed

    Dec 13, 2022

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')
  • CWE-862 Missing Authorization

References

4 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-4223 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo