CVE-2024-39309 — Vulnerability in parse-server — CVE Details
ZDI-CAN-23894: Parse Server literalizeRegexPart SQL Injection Authentication Bypass Vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.93%). Schedule for your next planned update.
Does your project use an affected parse-server version?
Paste your package-lock.json to check it for CVE-2024-39309 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
This vulnerability allows SQL injection when Parse Server is configured to use the PostgreSQL database.
Patches
The algorithm to detect SQL injection has been improved.
Workarounds
None.
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-c2hr-cqg6-8j6r
- https://github.com/parse-community/parse-server/pull/9167 (fix for Parse Server 7)
- https://github.com/parse-community/parse-server/pull/9168 (fix for Parse Server 6)
Credits
- Smile Thanapattheerakul of Trend Micro (finder)
- Manuel Trezza (coordinator)
Advisory Timeline
- First published July 1, 2024 (878 days ago).
- Last revised September 10, 2026 — 800 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install parse-server@6.5.7
npm install parse-server@7.1.0
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
| Package | Fixed In |
|---|---|
| parse-server npm · Affected: All versions | 6.5.7 |
| parse-server npm · Affected: All versions | 7.1.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-288
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-c2hr-cqg6-8j6rWEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-39309ADVISORY
- https://github.com/parse-community/parse-server/pull/9167WEB
- https://github.com/parse-community/parse-server/pull/9168WEB
- https://github.com/parse-community/parse-server/commit/2edf1e4c0363af01e97a7fbc97694f851b7d1ff3WEB
- https://github.com/parse-community/parse-server/commit/f332d54577608c5ad927255e06d8c694e2e0ff5bWEB
- https://github.com/parse-community/parse-serverPACKAGE
Frequently Asked Questions
- What is CVE-2024-39309?
- ZDI-CAN-23894: Parse Server literalizeRegexPart SQL Injection Authentication Bypass Vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2024-39309?
- CVE-2024-39309 affects parse-server. It has a 0.9% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-39309 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is an above-median EPSS score — 58.9% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2023-36475CRITICAL
Parse Server vulnerable to remote code execution via MongoDB BSON parser through prototype pollution
- CVE-2026-27804CRITICAL
Parse Server: Account takeover via JWT algorithm confusion in Google auth adapter
- CVE-2026-30966CRITICAL
Parse Server has role escalation and CLP bypass via direct `_Join` table write
- CVE-2026-32248CRITICAL
Parse Server: Account takeover via operator injection in authentication data identifier
- CVE-2024-27298CRITICAL
ZDI-CAN-19105: Parse Server literalizeRegexPart SQL Injection
- CVE-2026-30965CRITICAL
Parse Server vulnerable to session token exfiltration via `redirectClassNameForKey` query parameter
- CVE-2026-30863CRITICAL
Parse Server: JWT audience validation bypass in Google, Apple, and Facebook authentication adapters
- CVE-2026-31800HIGH
Parse Server: Classes `_GraphQLConfig` and `_Audience` master key bypass via generic class routes