{"id":"CVE-2026-33539","aliases":["CVE-2026-33539","GHSA-p2w6-rmh7-w8q3","BIT-PARSE-2026-33539"],"related":[],"kind":"vulnerability","state":"published","title":"Parse Server: SQL injection via aggregate and distinct field names in PostgreSQL adapter","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn 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.\n\nOnly Parse Server deployments using PostgreSQL are affected. MongoDB deployments are not affected.\n\n### Patches\n\nField names in the aggregate `$group._id` object values and `distinct` dot-notation parameters are now validated to only contain alphanumeric characters and underscores, preventing SQL injection via the `:raw` interpolation used in the PostgreSQL storage adapter.\n\n### Workarounds\n\nNo workaround. Upgrade to a patched version.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Parse Server es un backend de código abierto que puede ser desplegado en cualquier infraestructura que pueda ejecutar Node.js. Antes de las versiones 8.6.59 y 9.6.0-alpha.53, un atacante con acceso a la clave maestra puede ejecutar sentencias SQL arbitrarias en la base de datos PostgreSQL inyectando metacaracteres SQL en los parámetros de nombre de campo de la etapa de pipeline $group de agregación o la operación distinct. Esto permite la escalada de privilegios de administrador a nivel de aplicación de Parse Server a acceso a nivel de base de datos PostgreSQL. Solo las implementaciones de Parse Server que usan PostgreSQL se ven afectadas. Las implementaciones de MongoDB no se ven afectadas. Este problema ha sido parcheado en las versiones 8.6.59 y 9.6.0-alpha.53.","source":"nvd"},{"lang":"en","text":"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, 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","format":"markdown","source":"bitnami"}],"published":"2026-03-24T18:26:56.046Z","modified":"2026-09-08T08:48:17.670Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":7.2,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"version":"< 8.6.59","status":"affected"},{"version":">= 9.0.0, < 9.6.0-alpha.53","status":"affected"}],"vendor":"parse-community","product":"parse-server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.6.0-alpha.53"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.6.59"}],"ecosystem":"npm","package":"parse-server","purl":"pkg:npm/parse-server","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"8.6.59"},{"status":"affected","introduced":"9.0.0","fixed":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"},{"status":"affected","version":"9.6.0"}],"vendor":"parseplatform","product":"parse-server","cpe":"cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"8.6.59"},{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"9.6.0"}],"ecosystem":"Bitnami","package":"parse","purl":"pkg:bitnami/parse","source":"bitnami"}],"references":[{"url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-p2w6-rmh7-w8q3","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/pull/10272","tags":["issue-tracking","report","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/pull/10273","tags":["issue-tracking","report","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/commit/03249f9bf5b8783c8b848f84dab791ff0b761b8c","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/parse-community/parse-server/commit/bdddab5f8b61a40cb8fc62dd895887bdd2f3838e","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33539","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/parse-community/parse-server","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-03-26T19:33:11.468Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-33539","url":"https://www.cve.org/CVERecord?id=CVE-2026-33539","licence":"CVE Terms of Use","modified":"2026-03-26T19:52:13.216Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p2w6-rmh7-w8q3","url":"https://github.com/advisories/GHSA-p2w6-rmh7-w8q3","licence":"CC-BY-4.0","modified":"2026-03-27T22:03:50.528Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-33539","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33539","licence":"Public domain","modified":"2026-06-17T10:37:40.660Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PARSE-2026-33539","url":"https://osv.dev/vulnerability/BIT-PARSE-2026-33539","licence":"Apache-2.0","modified":"2026-09-08T08:48:17.670Z"}],"updatedAt":"2026-11-25T22:59:16.599Z","epss":{"score":0.00513,"percentile":0.45233,"date":"2026-12-02T12:00:21.000Z"}}