parse-server
Affected
- introduced
9.0.0-alpha.1, fixed9.5.2-alpha.13(semver)
Fixed versions
9.5.2-alpha.13
Fix
- Fixed version
9.5.2-alpha.13npm install [email protected]
Advisory
Also known as: BIT-parse-2026-31828, CVE-2026-31828
Parse Server vulnerable to 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
Medium Basis: The source's own band: MODERATE
9.0.0-alpha.1, fixed 9.5.2-alpha.13 (semver)9.5.2-alpha.13
9.5.2-alpha.13npm install [email protected]0, fixed 8.6.26 (semver)8.6.26
8.6.26npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0