CVE-2022-0959: pgadmin pgadmin_4
Vulnerability summary
CVE-2022-0959 is a medium (CVSS 6.5) vulnerability in pgadmin pgadmin_4. EPSS estimates a 0.97% chance of exploitation in the next 30 days, higher than 61.8% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 16-03-2022PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.97%
Chance of exploitation in the next 30 days
Percentile
62%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.97% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-434Unrestricted Upload of File with Dangerous TypeThe product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
- CWE-22Improper Limitation of a Pathname to a Restricted DirectoryThe product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse2 products
- pgadmin4&distro=openSUSE Leap 15.3< 4.30-150300.3.3.1
- pgadmin4&distro=openSUSE Leap 15.4< 4.30-150300.3.3.1
Mageia1 product
- pgadmin4< 4.30-5.mga8
Pgadmin1 product
- pgadmin_4< 6.7
PyPI1 product
- pgadmin4< 6.7
Suse1 product
- pgadmin4&distro=SUSE Linux Enterprise Module for Server Applications 15 SP3< 4.30-150300.3.3.1
5 vendors · 6 products
References
12 linksShow all 12 references
- pypi.org/project/pgadmin4PACKAGE