Skip to content
Fencer Vulns
medium 6.5

CVE-2022-0959 json

pgAdmin 4 Path Traversal vulnerability

published 2022-03-16 4 y ago modified 2026-07-06 4 mo ago also GHSA-cr8c-972v-rmp3 , PYSEC-2026-729 , EUVD-2022-1410

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

A malicious, but authorised and authenticated user can construct an HTTP request using their existing CSRF token and session cookie to manually upload files to any location that the operating system user account under which pgAdmin is running has permission to write.

Patch / fix

  • pypi pgadmin4 6.7
  • pgadmin pgadmin_4 6.7
  • pgadmin4 SLE Module for Server Applications 15 SP3, openSUSE Leap 15.4, openSUSE Leap 15.3 4.30-150300.3.3.1

suse advisories SUSE-SU-2022:1541-1

  • pgadmin4 openSUSE Tumbleweed 8.2-1.1

opensuse advisories openSUSE-SU-2024:13667-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-0959 updated cvss 7.6

pgadmin: Unrestricted file upload in pgAdmin

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
OSV 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
pypi pgadmin4
<6.7
6.7

Affected products

  • n/a pgadmin

Classification

Weakness
  • CWE-434 Unrestricted Upload of File with Dangerous Type
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.