{"id":"CVE-2026-31840","summary":"Parse Server has a SQL injection via dot-notation field name in PostgreSQL","details":"Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.6.0-alpha.2 and 8.6.28, an 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. This vulnerability only affects deployments using a PostgreSQL database. This vulnerability is fixed in 9.6.0-alpha.2 and 8.6.28.","aliases":["BIT-parse-2026-31840","GHSA-qpr4-jrj4-6f27"],"modified":"2026-08-12T03:51:23.924256128Z","published":"2026-03-11T16:53:17.164Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"\u003e= 9.0.0 \u003c 9.6.0-alpha.2"},{"last_affected":"\u003e= 9.0.0 \u003c 9.6.0-alpha.2"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31840.json"},"references":[{"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"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31840.json"},{"type":"ADVISORY","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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/parse-community/parse-server","events":[{"introduced":"0"},{"fixed":"0564c8438ae888843a5478f12681ec7f392bdefc"},{"introduced":"532a461d30a6ed4457839f2caf5f30d5abf51a55"},{"fixed":"cb062a6bca0827265804fd6ad60a55f1a360c15e"},{"fixed":"a6c092652fc6c533f8c8df18bab1d476b6d3c067"}],"database_specific":{"cpe":"cpe:2.3:a:parseplatform:parse-server:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"8.6.28"},{"introduced":"9.0.0"},{"fixed":"9.6.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["9.5.1","8.6.27","9.6.0-alpha.1","9.5.2-alpha.14","8.6.26","9.5.2-alpha.13","9.5.2-alpha.12","8.6.25","8.6.24","9.5.2-alpha.11","8.6.23","9.5.2-alpha.10","9.5.2-alpha.9","8.6.22","8.6.21","9.5.2-alpha.8","8.6.20","9.5.2-alpha.7","8.6.19","9.5.2-alpha.6","8.6.18","9.5.2-alpha.5","8.6.17","9.5.2-alpha.4","8.6.16","9.5.2-alpha.3","8.6.15","9.5.2-alpha.2","9.5.2-alpha.1","8.6.14","8.6.13","9.5.0","8.6.12","8.6.11","9.4.1","8.6.10","8.6.9","8.6.8","8.6.7","8.6.6","8.6.5","8.6.4","9.4.0","8.6.3","9.3.1","9.3.0","8.6.2","9.2.0","9.1.1","9.1.0","8.6.1","9.0.0","8.6.0","8.5.0","8.4.0","8.3.0","8.2.5","8.2.4","8.2.3","8.2.2","8.2.1","8.2.0","8.1.0","8.0.2","8.0.1","8.0.0","7.4.0","7.3.0","7.2.0","7.1.0","7.0.0","6.4.0","6.3.1","6.3.0","6.2.2","6.2.1","6.2.0","6.1.0","6.0.0","5.4.0","5.3.3","5.3.2","5.3.1","5.3.0","5.2.8","5.2.7","5.2.6","5.2.5","5.2.4","5.2.3","5.2.2","5.2.1","5.2.0","5.1.1","5.1.0","5.0.0","5.0.0-alpha.1","4.5.0","4.4.0","4.3.0","4.2.0","4.1.0","4.0.2","4.0.1","4.0.0","3.10.0","3.9.0","3.8.0","3.7.2","3.7.1","3.7.0","3.6.0","3.5.0","3.4.0","3.4.1","3.3.0","3.2.3","3.2.2","3.2.1","3.2.0","3.1.3","3.1.2","3.1.1","3.1.0","3.0.0","2.8.2","2.8.0","2.7.4","2.7.3","2.7.2","2.7.1","2.7.0","2.6.5","2.6.4","2.6.3","2.6.2","2.6.1","2.6.0","2.5.3","2.5.2","2.5.1","2.5.0","2.4.2","2.4.1","2.4.0","2.3.8","2.3.7","2.3.6","2.3.5","2.3.4","2.3.3","2.3.2","2.3.1","2.2.25","2.2.25-beta.1","2.2.24","2.2.23","2.2.22","2.2.21","2.2.20","2.2.19","2.2.18","2.2.17","2.2.16","2.2.15","2.2.14","2.2.13","2.2.12","2.2.11","2.2.10","2.2.9","2.2.8","2.2.7","2.2.6","2.2.5","2.2.4","2.2.3","2.2.2","2.2.1","2.2.0","2.1.6","2.1.5","2.1.4","2.1.3","2.1.2","2.1.1","2.1.0","2.0.8","2.0.7","2.0.3","2.0.6","2.0.5","2.0.4","2.0.2","2.0.1","2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31840.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"}]}