CVE-2026-47840

LDAP StartTLS unconditionally disables hostname verification

Published Jul 9, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
Description
A network attacker positioned between UAA and its LDAP directory can impersonate the directory using any certificate from any trusted CA, then harvest the LDAP bind password and every end-user password sent during simple-bind authentication, and return forged group memberships that grant themselves admin scopes. This affects every deployment that authenticates users against LDAP over StartTLS.
Affected versions: UAA versions prior to v78.13.0; Cf-deployment versions prior to v56.2.0.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker positioned between UAA and its LDAP directory to bypass hostname verification during StartTLS. By presenting any certificate from a trusted CA, the attacker can impersonate the directory, capture LDAP bind passwords and every end‑user password transmitted via simple‑bind authentication, and forge group memberships that grant admin scopes. This results in privilege escalation and credential theft for all users authenticated through LDAP over StartTLS.

Affected Systems

Affected deployments include the CloudFoundry Foundation’s Cf‑deployment versions earlier than 56.2.0 and CloudFoundry Foundation UAA versions earlier than 78.13.0. Any CloudFoundry installation that authenticates users against an LDAP directory over StartTLS is at risk.

Risk and Exploitability

The CVSS score of 8.3 indicates high severity, while the EPSS score of less than 1% suggests a low probability of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an attacker to be in the network path between UAA and the LDAP server, enabling a man‑in‑the‑middle takeover. Once positioned, the attacker can establish a StartTLS session, supply a forged certificate to bypass hostname verification, read bind credentials, and alter group memberships to elevate privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade UAA to version 78.13.0 or newer and Cf‑deployment to version 56.2.0 or newer to apply the official fix.
  • Disable LDAP StartTLS or enforce hostname verification on the LDAP client side until the upgrade can be performed, preventing attackers from bypassing authentication.
  • Restrict network access to the LDAP service to trusted hosts only, using firewalls to block potential man‑in‑the‑middle attackers.

Generated by OpenCVE AI on August 3, 2026 at 04:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-297
Type Values Removed Values Added
Weaknesses CWE-297
Type Values Removed Values Added
Weaknesses CWE-297
Type Values Removed Values Added
Weaknesses CWE-290
CWE-295
Type Values Removed Values Added
Weaknesses CWE-290
CWE-295
Type Values Removed Values Added
Weaknesses CWE-295
Type Values Removed Values Added
Weaknesses CWE-295
Type Values Removed Values Added
Weaknesses CWE-640
Type Values Removed Values Added
Weaknesses CWE-640
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Cloudfoundry
Cloudfoundry cf-deployment
Cloudfoundry uaa
Vendors & Products Cloudfoundry
Cloudfoundry cf-deployment
Cloudfoundry uaa
Type Values Removed Values Added
Description A network attacker positioned between UAA and its LDAP directory can impersonate the directory using any certificate from any trusted CA, then harvest the LDAP bind password and every end-user password sent during simple-bind authentication, and return forged group memberships that grant themselves admin scopes. This affects every deployment that authenticates users against LDAP over StartTLS. Affected versions: UAA versions prior to v78.13.0; Cf-deployment versions prior to v56.2.0.
Title LDAP StartTLS unconditionally disables hostname verification
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-297

    Improper Validation of Certificate with Host Mismatch

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jul 9, 2026, 12:49 PM
Reserved
May 20, 2026, 10:00 AM
Status
Awaiting Analysis
Published
Jul 9, 2026, 7:16 AM
Modified
Jul 9, 2026, 4:39 PM