Cyber Posture

CVE-2026-31840

Critical

Published: 11 March 2026

Published
11 March 2026
Modified
13 March 2026
KEV Added
Patch
CVSS Score 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0007 21.1th percentile
Risk Priority 20 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2026-31840 is a critical-severity SQL Injection (CWE-89) vulnerability in Parseplatform Parse-Server. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 21.1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 3 other techniques. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly mandates timely patching of the SQL injection flaw in Parse Server versions prior to 9.6.0-alpha.2 and 8.6.28 to remediate improper escaping of dot-notation query parameters.

prevent

Requires validation and sanitization of user inputs in sort, distinct, and where query parameters to block SQL injection via unescaped sub-field values in dot-notation.

detect

Enables monitoring of system and database activities to identify anomalous SQL queries indicative of exploitation attempts exploiting the PostgreSQL injection vulnerability.

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1213.006 Databases Collection
Adversaries may leverage databases to mine valuable information.
T1565.001 Stored Data Manipulation Impact
Adversaries may insert, delete, or manipulate data at rest in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1485 Data Destruction Impact
Adversaries may destroy data and files on specific systems or in large numbers on a network to interrupt availability to systems, services, and network resources.
Why these techniques?

SQL injection in public-facing Parse Server directly enables remote exploitation via T1190; arbitrary SQL also facilitates direct database collection (T1213.006), stored data manipulation (T1565.001), and data destruction (T1485).

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

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…

more

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.

Deeper analysisAI

CVE-2026-31840 is a SQL injection vulnerability in Parse Server, an open-source backend deployable on Node.js infrastructure. Affecting versions prior to 9.6.0-alpha.2 and 8.6.28, the flaw stems from improper escaping of sub-field values in dot-notation queries, allowing attackers to inject SQL into PostgreSQL databases. This issue arises specifically when using dot-notation field names with the sort query parameter and may also impact queries involving the distinct and where parameters. Deployments using databases other than PostgreSQL are unaffected. The vulnerability carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) and is associated with CWE-89 (Improper Neutralization of Special Elements used in an SQL Command).

Any unauthenticated attacker with network access to a vulnerable Parse Server instance can exploit this flaw remotely with low complexity and no user interaction required. By crafting a malicious request using dot-notation field names combined with the sort parameter (or potentially distinct/where), the attacker injects arbitrary SQL into PostgreSQL queries, potentially achieving high confidentiality, integrity, and availability impacts such as data exfiltration, modification, or deletion.

Parse Server advisories recommend upgrading to version 9.6.0-alpha.2 or 8.6.28, where the improper escaping issue has been fixed. Details are available in the project's security advisory (GHSA-qpr4-jrj4-6f27) and release notes for the patched versions.

Details

CWE(s)

Affected Products

parseplatform
parse-server
9.6.0 · ≤ 8.6.28 · 9.0.0 — 9.6.0

CVEs Like This One

CVE-2026-31856Same product: Parseplatform Parse-Server
CVE-2026-31871Same product: Parseplatform Parse-Server
CVE-2026-33539Same product: Parseplatform Parse-Server
CVE-2026-30941Same product: Parseplatform Parse-Server
CVE-2026-32594Same product: Parseplatform Parse-Server
CVE-2026-31800Same product: Parseplatform Parse-Server
CVE-2026-32098Same product: Parseplatform Parse-Server
CVE-2026-30947Same product: Parseplatform Parse-Server
CVE-2026-30967Same product: Parseplatform Parse-Server
CVE-2026-34532Same product: Parseplatform Parse-Server

References