{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "8.6.59"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "eeabc97878a8112c5a32be1609e72ef562dde9f2"
            }
          ],
          "repo": "https://github.com/parse-community/parse-server",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "9.0.0"
              },
              {
                "fixed": "9.6.0-alpha.53"
              }
            ]
          },
          "events": [
            {
              "introduced": "532a461d30a6ed4457839f2caf5f30d5abf51a55"
            },
            {
              "fixed": "97bdaf5299a40ad8d4b5c5e160a592bf63070934"
            }
          ],
          "repo": "https://github.com/parse-community/parse-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-p2w6-rmh7-w8q3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33539.json"
  },
  "details": "Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to versions 8.6.59 and 9.6.0-alpha.53, an attacker with master key access can execute arbitrary SQL statements on the PostgreSQL database by injecting SQL metacharacters into field name parameters of the aggregate $group pipeline stage or the distinct operation. This allows privilege escalation from Parse Server application-level administrator to PostgreSQL database-level access. Only Parse Server deployments using PostgreSQL are affected. MongoDB deployments are not affected. This issue has been patched in versions 8.6.59 and 9.6.0-alpha.53.",
  "id": "CVE-2026-33539",
  "modified": "2026-04-01T23:09:33.882015365Z",
  "published": "2026-03-24T18:26:56.046Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33539.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c"
    },
    {
      "type": "FIX",
      "url": "https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e"
    },
    {
      "type": "FIX",
      "url": "https://github.com/parse-community/parse-server/pull/10272"
    },
    {
      "type": "FIX",
      "url": "https://github.com/parse-community/parse-server/pull/10273"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/parse-community/parse-server/security/advisories/GHSA-p2w6-rmh7-w8q3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-33539"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Parse Server: SQL injection via aggregate and distinct field names in PostgreSQL adapter"
}