Description
go-ldap-admin through 0.6.2 embeds a hard-coded RSA private key, published in the public repository, that protects encrypted login passwords. Unauthenticated attackers who capture encrypted passwords can decrypt them offline or via the /base/decryptpwd endpoint, recovering cleartext LDAP credentials for reuse.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| opsre | go-ldap-admin | ≤ 0.6.2 | — |
Advisories 1
- NCSC-2026-0491 Meerdere kwetsbaarheden verholpen in Citrix Secure Access Client, NetScaler ADC, NetScaler Gateway en NetScaler Console. NCSC-NL (Netherlands) · Nov 12, 2026
References
- https://hackmd.io/@hieuPenguinnn/go-ldap-admin-hardcoded-rsa-key-decrypt-oracle-and-unauth-password-reset third-party-advisory
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/config/config.go#L20-L24 technical-description
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/config/config.go#L76-L77 technical-description
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/routes/base_routes.go#L50 technical-description
- https://github.com/opsre/go-ldap-admin/blob/v0.6.2/logic/base_logic.go#L188-L199 technical-description
- https://github.com/opsre/go-ldap-admin product
- VulnCheck Advisory: go-ldap-admin through 0.6.2 Hard-Coded RSA Private Key via /base/decryptpwd third-party-advisory