Skip to content
RESEARCH INDEX BREACHROAD / INTELLIGENCE NOTE

BOSH vSphere CPI CVE-2026-41012: vCenter takeover through a fake endpoint

A certificate-validation flaw lets an on-path attacker capture vCenter administrator credentials during routine CPI calls.

PUBLIC RESEARCH
AUTHOR
/ CEO Breachroad · OSCP · PNPT
PUBLISHED
29 August 2026
READING TIME
18 min read
TOPIC
Cloud, Infrastructure and DevSecOps
BOSH vSphere CPI CVE-2026-41012: vCenter takeover through a fake endpoint

The CVE-2026-41012 record published by NVD on 29 August describes improper certificate validation in BOSH vSphere CPI. An attacker positioned between BOSH Director and vCenter can impersonate the vCenter REST API, receive credentials carried in HTTP Basic Authentication and take control of virtualisation resources available to the compromised account.

The Cloud Foundry Foundation published its advisory on 27 August and assigned CVSS 4.0 8.8 High and CVSS 3.x 7.7 High. Every BOSH vSphere CPI release before 98.0.6 is affected. The vendor recommends 98.0.6 or later and explicitly says that providing a CA certificate alone does not mitigate the exposure.

This is not a conventional “HTTPS is disabled” failure. A connection can use TLS yet fail to establish the expected peer identity. Encryption to an attacker-controlled server protects traffic from third parties, not from that server. If the client does not correctly establish that the certificate belongs to the intended vCenter, Basic Auth delivers the username and password to the adversary.

Why CPI is a critical trust boundary

BOSH Director manages deployment lifecycle, while a Cloud Provider Interface translates its operations into actions for a particular infrastructure. On vSphere, those actions include creating, modifying, starting and deleting virtual machines and operating on disks, datastores, networks and cluster resources.

The project’s required-privilege list illustrates the scope. A CPI account may assign networks, browse and modify datastore files, create and delete VMs, clone templates, change virtual devices, migrate workloads and perform power operations. A deployment can constrain the role, but compromising it still reaches a management plane with far greater impact than one workload.

The advisory therefore describes possible takeover of all VMs, datastores and networks managed by the CPI. That should not automatically be expanded to every object in the entire vCenter — the real boundary is the role and assignment scope of the stolen account. In many operational environments, however, those permissions are broad.

Attack prerequisites

An adversary needs a position from which traffic between BOSH Director and vCenter can be intercepted or redirected. This could follow compromise of a network element, DNS or routing manipulation, access to the same network layer or control of an intermediary. The vendor classifies the attack vector as local and complexity as high; this is not exploitable by any internet user merely because they know the Director address.

The attacker then presents an endpoint imitating the vCenter REST API. A routine CPI operation causes Director to connect to the fake server. An administrator does not need to sign in manually to a phishing page — normal system activity provides the interaction that triggers a call.

Basic Authentication is not the sole cause. Inside a correctly authenticated TLS tunnel, it can be protected in transit. The defect is that the client sends a reusable secret after forming a channel with the wrong party. It is a clear example of the difference between transport confidentiality and endpoint authentication.

Why a CA file is not enough

The Cloud Foundry Foundation states that supplying a CA certificate does not mitigate the issue. Operators should not close the investigation with “we use an internal CA and HTTPS”. The important question is whether the affected version applies that configuration to every REST call and correctly validates the chain, host name and expected identity.

For the same reason, a manual browser test does not establish CPI security. A browser and an automation component may use different libraries, trust stores and options. Verification has to cover the real connection initiated by the updated component.

Inventory and priority

Find BOSH deployments using vSphere CPI, including older environments maintained by automation that rarely updates release versions. Confirm the version declared in manifests and the release actually deployed to Director. Include test environments: they often have weaker segmentation while sharing vCenter with production.

Map the vCenter endpoint, name-resolution method, network path, proxies and CPI account. Review the vCenter role and where it is propagated. The broader its permissions and managed-object scope, the larger the potential impact.

Prioritise releases before 98.0.6, Directors on shared networks, connections crossing untrusted devices and accounts assigned at root or entire-datacenter scope. Lack of internet exposure is not a sufficient compensating control because the threat model assumes an on-path position inside the environment.

A safe upgrade

Move to BOSH vSphere CPI 98.0.6 or a later supported release. Before deployment, record the manifest, release version, artifact fingerprints and endpoint configuration. Test routine CPI operations: state retrieval, creation and deletion of a controlled VM, disk actions, metadata and access to required vCenter objects.

A negative test should establish that the component rejects a server with an invalid certificate chain or name and does not send it an Authorization header. Perform it only in a controlled environment with non-production credentials. Its purpose is validation of the fix, not reproduction against live infrastructure.

After upgrading, confirm that an automation pipeline cannot restore an older release from a pinned manifest or cache. Updating one Director does not fix other regions or disaster-recovery environments.

Whether to rotate vCenter credentials

Rotation is justified when an affected component operated across a network that could have been intercepted, DNS or routing anomalies were found, unexpected certificates appeared, or the CPI account signed in from new addresses. Create a new credential with the least required scope, update Director and confirm operation before invalidating the old one to avoid losing deployment control.

Password rotation does not undo actions already performed by a stolen account. Compare roles, permissions, VMs, snapshots, clone tasks, network configuration, datastores and administrative events with an approved baseline. Examine guest operations and changes to images or templates from which future machines are created.

Detection across three layers

At the network layer, monitor changes in the resolved vCenter address, unusual routes, new proxies and certificates departing from the known identity. An alert should cover endpoint-identity change, not just certificate expiry.

On BOSH Director, correlate CPI operation times with TLS errors, retries, endpoint changes and release deployments. Never log the complete Authorization header. In vCenter, look for CPI-account sessions from new sources and actions inconsistent with a deployment window: role changes, bulk clones, file exports, unusual snapshots and operations spanning many VMs.

The strongest signal joins these layers. A new certificate on the path followed by a CPI-account login from a different address and off-schedule operations is far more meaningful than any event alone.

Source facts and Breachroad conclusions

The interception mechanism, CVSS ratings, affected range, warning that a CA is insufficient and fixed release come from the Cloud Foundry advisory and CVE record. Rotation order, detection correlation and testing both sides are Breachroad’s defensive conclusions. The vendor advisory does not report active exploitation of CVE-2026-41012.

Primary sources

Infrastructure automation holds high-impact credentials, so its management channels deserve the same attention as identity systems. A cloud security assessment can validate the boundaries between orchestrator, hypervisor and management network. Teams can practise modelling similar dependencies in focused technical cybersecurity training.

SHARE / COPY