{"id":"GHSA-qpr4-jrj4-6f27","summary":"Parse Server: SQL injection via dot-notation field name in PostgreSQL","details":"### Impact\n\nAn attacker can use a dot-notation field name in combination with the `sort` query parameter to inject SQL into the PostgreSQL database through an improper escaping of sub-field values in dot-notation queries. The vulnerability may also affect queries that use dot-notation field names with the `distinct` and `where` query parameters.\n\nThis vulnerability only affects deployments using a PostgreSQL database.\n\n### Patches\n\nThe fix escapes characters in dot-notation sub-field values that could allow a SQL breakout.\n\n### Workarounds\n\nThere is no known workaround.\n\n### References\n\n- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-qpr4-jrj4-6f27\n- Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.2\n- Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.28","aliases":["BIT-parse-2026-31840","CVE-2026-31840"],"modified":"2026-03-13T13:11:06.656060Z","published":"2026-03-10T18:25:27Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2026-03-10T18:25:27Z","nvd_published_at":"2026-03-11T17:16:58Z","cwe_ids":["CWE-89"]},"references":[{"type":"WEB","url":"https://github.com/parse-community/parse-server/security/advisories/GHSA-qpr4-jrj4-6f27"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31840"},{"type":"PACKAGE","url":"https://github.com/parse-community/parse-server"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/releases/tag/8.6.28"},{"type":"WEB","url":"https://github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.2"}],"affected":[{"package":{"name":"parse-server","ecosystem":"npm","purl":"pkg:npm/parse-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"9.0.0"},{"fixed":"9.6.0-alpha.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qpr4-jrj4-6f27/GHSA-qpr4-jrj4-6f27.json"}},{"package":{"name":"parse-server","ecosystem":"npm","purl":"pkg:npm/parse-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"8.6.28"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-qpr4-jrj4-6f27/GHSA-qpr4-jrj4-6f27.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}