Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. parse-server
  4. ›
  5. CVE-2026-31840

CVE-2026-31840: Parse Server: SQL injection via dot-notation field name in PostgreSQL

March 10, 2026 (updated March 11, 2026)

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.

References

  • github.com/advisories/GHSA-qpr4-jrj4-6f27
  • github.com/parse-community/parse-server
  • github.com/parse-community/parse-server/releases/tag/8.6.28
  • github.com/parse-community/parse-server/releases/tag/9.6.0-alpha.2
  • github.com/parse-community/parse-server/security/advisories/GHSA-qpr4-jrj4-6f27
  • nvd.nist.gov/vuln/detail/CVE-2026-31840

Code Behaviors & Features

Detect and mitigate CVE-2026-31840 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 8.6.28, all versions starting from 9.0.0 before 9.6.0-alpha.2

Fixed versions

  • 9.6.0-alpha.2
  • 8.6.28

Solution

Upgrade to versions 8.6.28, 9.6.0-alpha.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/parse-server/CVE-2026-31840.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 19 Mar 2026 16:04:57 +0000.