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.
Published: 2026-10-15
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Credential Disclosure
Action: Restrict Endpoint
AI Analysis

Impact

The vulnerability stems from a hard‑c­oded RSA private key embedded in go‑ldap‑admin configuration. Because the key is publicly visible, the /base/decryptpwd endpoint can decrypt encrypted LDAP login passwords without authentication. An unauthenticated attacker who captures encrypted credentials can use the endpoint or the exposed key to recover clear‑text LDAP credentials, enabling them to authenticate as any user in the directory and potentially move laterally.

Affected Systems

Operated by opsre, go‑ldap‑admin up to version 0.6.2 contains the hard‑coded RSA private key as shown in the repository's config.go. All releases prior to any removal of the key are considered vulnerable. No supported official patch version is indicated in the provided data.

Risk and Exploitability

The CVSS score of 8.2 classifies this as high severity. The EPSS score is <1%, indicating a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. The /base/decryptpwd endpoint is reachable without credentials, making exploitation straightforward once the attacker has captured an encrypted password. The high severity and ease of exploitation result in a significant risk to confidentiality of LDAP credentials.

Generated by OpenCVE AI on October 16, 2026 at 16:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Replace the hard‑coded RSA private key in the configuration with a key stored outside source control, such as an environment variable or a securely managed secrets store
  • Disable or restrict the /base/decryptpwd endpoint so that only authenticated users can invoke it, or remove it entirely if unnecessary
  • Monitor for the use of encrypted LDAP passwords and revoke any compromised credentials promptly

Generated by OpenCVE AI on October 16, 2026 at 16:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 22:00:00 +0000

Type Values Removed Values Added
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.
Title go-ldap-admin through 0.6.2 Hard-Coded RSA Private Key via /base/decryptpwd
Weaknesses CWE-321
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-16T18:00:31.558Z

Reserved: 2026-10-15T20:54:15.006Z

Link: CVE-2026-111347

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-15T22:19:32.300

Modified: 2026-10-16T19:17:04.300

Link: CVE-2026-111347

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T16:30:13Z

Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key