{"api_version":"1","generated_at":"2026-06-05T10:11:16+00:00","cve":"CVE-2022-0959","urls":{"html":"https://cve.report/CVE-2022-0959","api":"https://cve.report/api/cve/CVE-2022-0959.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-0959","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-0959"},"summary":{"title":"CVE-2022-0959","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-03-16 15:15:00","updated_at":"2023-06-27 16:39:00"},"problem_types":["CWE-22","CWE-434"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2063759","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2063759","refsource":"MISC","tags":[],"title":"2063759 – (CVE-2022-0959) CVE-2022-0959 pgadmin: Unrestricted file upload in pgAdmin","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-0959","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0959","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"959","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"postgresql","cpe5":"pgadmin_4","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-0959","qid":"753251","title":"SUSE Enterprise Linux Security Update for pgadmin4 (SUSE-SU-2022:1541-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-0959","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"pgadmin","version":{"version_data":[{"version_value":"pgadmin 6.7"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-434"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2063759","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2063759"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2022-03-16 15:15:00","lastModifiedDate":"2023-06-27 16:39:00","problem_types":["CWE-22","CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:postgresql:pgadmin_4:*:*:*:*:*:*:*:*","versionEndExcluding":"6.7","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}