GitHub Advisoryadvisory · npm
GHSA-7m6r-fhh7-r47c Parse Server vulnerable to LDAP injection via unsanitized user input in DN and group filter construction
MEDIUM
Official page ↗
- Aliases
- CVE-2026-31828
- Ecosystem
- npm
- Packages
- parse-server
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-90
- Reviewed
- 2026-03-11
Affected packages
• npm parse-server: >= 9.0.0-alpha.1, < 9.5.2-alpha.13 → fixed in 9.5.2-alpha.13
• npm parse-server: < 8.6.26 → fixed in 8.6.26
Description
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
Related
Alias · CVE (1)
- CVE-2026-31828 Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. vulnerability
Weakness · CWE (1)
- CWE-90 Improper Neutralization of Special Elements used in an LDAP Query weakness
References
- https://github.com/parse-community/parse-server/security/advisories/GHSA-7m6r-fhh7-r47c web
- https://nvd.nist.gov/vuln/detail/CVE-2026-31828 advisory
- https://github.com/parse-community/parse-server package
- https://github.com/parse-community/parse-server/releases/tag/8.6.26 web
- https://github.com/parse-community/parse-server/releases/tag/9.5.2-alpha.13 web