# CVE-2022-4223: PYSEC-2026-893 - pgadmin4 vulnerable to Code Injection

Source: https://junglewise.ai/threats/cve-2022-4223-pgadmin4-vulnerable-to-code-injection  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2022-4223 · Severity: low · CVSS 3.1 · Published 2026-07-07

pgadmin4 vulnerable to Code Injection

Technologies: [pgadmin4 (PyPI)](https://junglewise.ai/threats/technologies/pgadmin4). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-4223 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-4223 being exploited in the wild.

**How severe is CVE-2022-4223?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** pgadmin4 (PyPI) ECOSYSTEM:introduced=0,fixed=6.17.

**Is there a fix for CVE-2022-4223?** Yes. pgadmin4 (PyPI): upgrade to 6.17 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-4223?** Check whether you run pgadmin4 (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pgadmin4 (PyPI): upgrade to 6.17 or later

  ```sh
  pip install "pgadmin4>=6.17"
  ```


## Affected products

- pgadmin4 (PyPI) ECOSYSTEM:introduced=0,fixed=6.17

## Identifiers

- CVE-2022-4223
- GHSA-3v6v-2x6p-32mc
- PYSEC-2026-893

## Related threats

- [PYSEC-2026-2864 - pgadmin4 affected by a Restore restriction bypass via key disclosure vulnerability](https://junglewise.ai/threats/cve-2026-1707-pgadmin-4-restore-restriction-bypass-via-key-disclosure)
- [PYSEC-2026-1769 - pgadmin4 is affected by a Cross-Origin Opener Policy (COOP) vulnerability](https://junglewise.ai/threats/cve-2025-9636-pgadmin4-is-affected-by-a-cross-origin-opener-policy-coop)
- [PYSEC-2026-1770 - pgAdmin has Incorrect Default Permissions](https://junglewise.ai/threats/cve-2023-1907-pgadmin-has-incorrect-default-permissions)
- [PYSEC-2026-1775 - OAuth2 client ID and secret exposed through the web browser](https://junglewise.ai/threats/cve-2024-9014-oauth2-client-id-and-secret-exposed-through-the-web-browser)
- [PYSEC-2026-1777 - pgAdmin Cross-site Scripting vulnerability in /settings/store API response json payload](https://junglewise.ai/threats/cve-2024-4216-pgadmin-cross-site-scripting-vulnerability-in-settings-store-api)
