CVE-2026-31828: Parse Server has an LDAP injection via unsanitized user input in DN and group filter construction
Impact
The LDAP authentication adapter is vulnerable to LDAP injection. User-supplied input (authData.id) is interpolated directly into LDAP Distinguished Names (DN) and group search filters without escaping special characters. This allows an attacker with valid LDAP credentials to manipulate the bind DN structure and to bypass group membership checks. This enables privilege escalation from any authenticated LDAP user to a member of any restricted group.
The vulnerability affects Parse Server deployments that use the LDAP authentication adapter with group-based access control.
Patches
The vulnerability is fixed by escaping user input before interpolation into DN strings (per RFC 4514) and LDAP filter strings (per RFC 4515).
Workarounds
There is no known workaround.
References
- GitHub security advisory: https://github.com/parse-community/parse-server/security/advisories/GHSA-7m6r-fhh7-r47c - Fix Parse Server 9: https://github.com/parse-community/parse-server/releases/tag/9.5.2-alpha.13 - Fix Parse Server 8: https://github.com/parse-community/parse-server/releases/tag/8.6.26
Other sources
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 9.5.2-alpha.13 and 8.6.26, the LDAP authentication adapter is vulnerable to LDAP injection. User-supplied input (authData.id) is interpolated directly into LDAP Distinguished Names (DN) and group search filters without escaping special characters. This allows an attacker with valid LDAP credentials to manipulate the bind DN structure and to bypass group membership checks. This enables privilege escalation from any authenticated LDAP user to a member of any restricted group. The vulnerability affects Parse Server deployments that use the LDAP authentication adapter with group-based access control. This vulnerability is fixed in 9.5.2-alpha.13 and 8.6.26.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31828?
CVE-2026-31828 is considered a critical vulnerability due to the possibility of LDAP injection attacks.
How do I fix CVE-2026-31828?
To address CVE-2026-31828, you should upgrade to Parse Server version 8.6.27 or later, or 9.5.2-alpha.14 or later.
What types of attacks can CVE-2026-31828 facilitate?
CVE-2026-31828 can potentially be exploited for LDAP injection attacks, allowing an attacker to manipulate the LDAP queries.
What affected software versions are related to CVE-2026-31828?
CVE-2026-31828 impacts Parse Server versions up to and including 8.6.26 and 9.5.2-alpha.13.
Is user input protected against CVE-2026-31828?
No, the vulnerability arises from unsanitized user input in the Distinguished Name (DN) and group filter construction.