CVE-2026-111347 Details
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.
A vulnerability exists in go-ldap-admin versions through 0.6.2, where a hard-coded RSA private key is embedded in the application and published in a public repository. This key is used to decrypt login passwords that are encrypted with the corresponding public key. Unauthenticated attackers who capture these encrypted passwords can use the private key to decrypt them offline or through the /base/decryptpwd endpoint, thereby recovering cleartext LDAP credentials. Additionally, the application allows for unauthenticated password resets on LDAP accounts, further exploiting the vulnerability.
Remove the hard-coded private key from the application, and instead generate a unique RSA key pair for each deployment. This key pair should be stored securely and not embedded in the binary. Additionally, the application should be updated to use a more secure method of generating verification codes for password resets, such as using cryptographic random number generators, and to implement rate limiting and logging for password reset requests.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 15, 2026CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hackmd.io/@hieuPenguinnn/go-ldap-admin-hardcoded-rsa-key-decrypt-oracle-and-unauth-password-reset | CISA-ADP | ExploitRemedyTechnical Analysis |
| https://github.com/opsre/go-ldap-admin | [email protected] | ProductSource CodeVendor |
| https://github.com/opsre/go-ldap-admin/blob/v0.6.2/config/config.go#L20-L24 | [email protected] | Source CodeVendor |
| https://github.com/opsre/go-ldap-admin/blob/v0.6.2/config/config.go#L76-L77 | [email protected] | Source CodeVendor |
| https://github.com/opsre/go-ldap-admin/blob/v0.6.2/logic/base_logic.go#L188-L199 | [email protected] | Source CodeVendor |
| https://github.com/opsre/go-ldap-admin/blob/v0.6.2/routes/base_routes.go#L50 | [email protected] | Source CodeVendor |
| https://hackmd.io/@hieuPenguinnn/go-ldap-admin-hardcoded-rsa-key-decrypt-oracle-and-unauth-password-reset | [email protected] | ExploitRemedyTechnical Analysis |
| https://www.vulncheck.com/advisories/go-ldap-admin-through-0.6.2-hard-coded-rsa-private-key-via-base-decryptpwd | [email protected] | AdvisoryBundle |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-321 | Use of Hard-coded Cryptographic Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| opsre go-ldap-admin | <= 0.6.2 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Oct 15, 2026 | New CVE Received | [email protected] |
Volerion