Skip to content
Emerging threatsHigh

CVE-2022-4223pgadmin4 Code Injection

pgadmin4 vulnerable to Code Injection

Published Dec 13, 2022 · Updated Oct 28, 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.

Scores

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

Exploit maturity

None known

ATLAS score

33/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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

    Oct 28, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code
  • CWE-862 Missing Authorization

References

5 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-4223 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.