# CVE-2022-0959: pgAdmin 4 Path Traversal vulnerability

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Published: 2022-03-16T14:03:38.000Z
- Modified: 2026-07-06T08:11:36.726Z
- Also known as: GHSA-cr8c-972v-rmp3, PYSEC-2026-729
- Weaknesses: CWE-22, CWE-434
- Assigned by: redhat

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

(As written by CVE List.)

## Affected

- pgadmin: pgadmin 6.7
- pgadmin4 (PyPI): before 6.7
- pgadmin pgadmin_4: before 6.7

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2063759> (issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0959> (advisory)
- <https://github.com/pgadmin-org/pgadmin4/commit/dccd4f0bbaafa783d9f0360c7592b128d5cc3928> (web)
- <https://github.com/pgadmin-org/pgadmin4> (package)
- <https://pypi.org/project/pgadmin4> (package)
- <https://github.com/advisories/GHSA-cr8c-972v-rmp3> (advisory)

## Sources

- CVE List: [CVE-2022-0959](https://www.cve.org/CVERecord?id=CVE-2022-0959), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-cr8c-972v-rmp3](https://github.com/advisories/GHSA-cr8c-972v-rmp3), CC-BY-4.0, modified 2026-07-06
- NVD: [CVE-2022-0959](https://nvd.nist.gov/vuln/detail/CVE-2022-0959), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-729](https://osv.dev/vulnerability/PYSEC-2026-729), CC-BY-4.0, modified 2026-07-06

---

Page: https://cve.day/CVE-2022-0959 · Whole record: https://cve.day/CVE-2022-0959.json · Rebuilt by cve.day 2026-11-25T22:58:10.137Z
