Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-0959

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-0959
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 13:33 UTC · Revision 1

Source evidence

CVE-2022-0959

core-osv · Original source

Published 16 Mar 2022, 14:03 UTC

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.

osv:CVE-2022-0959
Complete source record
{
  "id": "0a49aa7c3c655c1363088c43262751b7e66e126b7945b48c4f03d3a40ffee534",
  "url": "https://osv.dev/vulnerability/CVE-2022-0959",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-0959",
    "summary": "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.",
    "evidence": "osv:CVE-2022-0959",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-0959",
      "aliases": [
        "CVE-2022-0959",
        "GHSA-cr8c-972v-rmp3",
        "PYSEC-2026-729"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pgadmin-org/pgadmin4",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "901e3ede3972b9c6f723e82e453a8e9b25205612"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:pgadmin:pgadmin_4:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "6.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "REL-6_6",
            "REL-6_5",
            "REL-6_4",
            "REL-6_3",
            "REL-6_2",
            "REL-6_1",
            "REL-6_0",
            "REL-5_7",
            "REL-5_6",
            "REL-5_5",
            "REL-5_4",
            "REL-5_3",
            "REL-5_2",
            "REL-5_1",
            "REL-5_0",
            "REL-4_30",
            "REL-4_29",
            "REL-4_28",
            "REL-4_27",
            "REL-4_26",
            "REL-4_25",
            "REL-4_24",
            "REL-4_23",
            "REL-4_22",
            "REL-4_21",
            "REL-4_20",
            "REL-4_19",
            "REL-4_18",
            "REL-4_17",
            "REL-4_16",
            "REL-4_15",
            "REL-4_14",
            "REL-4_13",
            "REL-4_12",
            "REL-4_11",
            "REL-4_10",
            "REL-4_9",
            "REL-4_8",
            "REL-4_7",
            "REL-4_6",
            "REL-4_5",
            "REL-4_4",
            "REL-4_3",
            "REL-4_2",
            "REL-4_1",
            "REL-4_0",
            "REL-3_6",
            "REL-3_5",
            "REL-3_4",
            "REL-3_3",
            "REL-3_2",
            "REL-3_1",
            "REL-3_0",
            "REL-2_1",
            "REL-2_0",
            "REL-2_0-RC2",
            "REL-2_0-RC1",
            "REL-1_6",
            "REL-1_5",
            "REL-1_4",
            "REL-1_3",
            "REL-1_2",
            "REL-1_1",
            "REL-1_0",
            "REL-1_0-RC1",
            "REL-1_0-BETA4",
            "REL-1_0-BETA3",
            "REL-1_0-BETA2",
            "REL-1_0-BETA1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-0959.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:29.156023418Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0959.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-0959",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2063759"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-434"
        ],
        "cna_assigner": "redhat",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "pgadmin 6.7"
                  },
                  {
                    "last_affected": "pgadmin 6.7"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0959.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-0959",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 495954,
  "published_at": "2022-03-16T14:03:38+00:00"
}