Vulnerability · Published Mar 16, 2022 · Assigned by redhat

CVE-2022-0959

Medium 6.5

In plain English

A medium-severity unrestricted file upload in pgadmin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)1.0%top 38.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpgadmin46.7GHSA-cr8c-972v-rmp3
PyPIpgadmin46.7PYSEC-2026-729

Affected products (as reported)

VendorProductVersions
n/a pgadmin pgadmin 6.7

Weakness: CWE-434

References