CVE-2026-31828: Parse Server vulnerable to LDAP injection via unsanitized user input in DN and group filter construction
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.
References
- github.com/advisories/GHSA-7m6r-fhh7-r47c
- github.com/parse-community/parse-server
- github.com/parse-community/parse-server/releases/tag/8.6.26
- github.com/parse-community/parse-server/releases/tag/9.5.2-alpha.13
- github.com/parse-community/parse-server/security/advisories/GHSA-7m6r-fhh7-r47c
- nvd.nist.gov/vuln/detail/CVE-2026-31828
Code Behaviors & Features
Detect and mitigate CVE-2026-31828 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 →