GHSA-gqpp-xgvh-9h7h

Suggest an improvement
Source
https://github.com/advisories/GHSA-gqpp-xgvh-9h7h
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-gqpp-xgvh-9h7h/GHSA-gqpp-xgvh-9h7h.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gqpp-xgvh-9h7h
Aliases
Published
2026-03-11T00:34:40Z
Modified
2026-03-13T13:11:07Z
Severity
  • 9.3 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Parse Server vulnerable to SQL Injection via dot-notation sub-key name in `Increment` operation on PostgreSQL
Details

Impact

A SQL injection vulnerability exists in the PostgreSQL storage adapter when processing Increment operations on nested object fields using dot notation (e.g., stats.counter). The sub-key name is interpolated directly into SQL string literals without escaping. An attacker who can send write requests to the Parse Server REST API can inject arbitrary SQL via a crafted sub-key name containing single quotes, potentially executing commands or reading data from the database, bypassing CLPs and ACLs.

Only Postgres deployments are affected.

Patches

The fix escapes single quotes in the sub-key name before interpolating it into the SQL query, preventing breakout from SQL string literals.

Workarounds

There is no known workaround.

References

Database specific
{
    "cwe_ids":  [
        "CWE-89"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-03-11T00:34:40Z",
    "nvd_published_at":  "2026-03-11T18:16:26Z",
    "severity":  "CRITICAL"
}
References

Affected packages

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
9.0.0-alpha.1
Fixed
9.6.0-alpha.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-gqpp-xgvh-9h7h/GHSA-gqpp-xgvh-9h7h.json"

npm / parse-server

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
8.6.31

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-gqpp-xgvh-9h7h/GHSA-gqpp-xgvh-9h7h.json"