CVE-2022-0959
lowpriority · track · 26EPSS 0.010 · 62 %ileDEEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.5–6.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2023-1617pgAdmin: Schwachstelle ermöglicht Umgehen von SicherheitsvorkehrungenDeutsch2023-07-02csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann eine Schwachstelle in pgAdmin ausnutzen, um Sicherheitsvorkehrungen zu umgehen.
- GHSA-cr8c-972v-rmp3pgAdmin 4 Path Traversal vulnerability2022-03-17ghsa · osvUS
When run in server mode, pgAdmin 4 allows users to store files on the server under individual storage directories. Files such as SQL scripts may be uploaded through the user interface. The URI to which upload requests are made fails to validate the upload path to prevent path traversal techniques being used to store files outside of the storage directory. 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.
- PYSEC-2026-729pgAdmin 4 Path Traversal vulnerability2026-07-02vendor · osvUS
When run in server mode, pgAdmin 4 allows users to store files on the server under individual storage directories. Files such as SQL scripts may be uploaded through the user interface. The URI to which upload requests are made fails to validate the upload path to prevent path traversal techniques being used to store files outside of the storage directory. 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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=2063759cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-0959/cnnvd
- https://vigilance.fr/vulnerability/pgAdmin-directory-traversal-38253cnnvd
- https://www.pgadmin.org/download/Patchcnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2063759enisa_euvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2063759Issue TrackingThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan