Bug 2517975 (CVE-2026-75938) - CVE-2026-75938 openshift/cluster-api-provider-ibmcloud: cluster-api-provider-ibmcloud: management-plane IAM bearer token embedded in PowerVS instance user-data
Summary: CVE-2026-75938 openshift/cluster-api-provider-ibmcloud: cluster-api-provider-...
Keywords:
Status: NEW
Alias: CVE-2026-75938
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-18 15:55 UTC by OSIDB Bzimport
Modified: 2026-11-30 20:34 UTC (History)
16 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-18 15:55:08 UTC
When IBMPowerVSCluster.Spec.Ignition is set, the cluster-api-provider-ibmcloud controller uploads bootstrap Ignition to a COS bucket and constructs a stub Ignition pointing at that object. To authorize the fetch, ignitionUserData() in cloud/scope/powervs_machine.go calls authenticator.GetIAMAuthenticator().GetToken() — minting an IAM bearer token from the controller's own IBMCLOUD_APIKEY — and embeds it verbatim as an 'Authorization: Bearer <token>' HTTP header inside the stub. The stub is base64-encoded and passed as PowerVS instance userData, readable by any root process on the instance via config-drive/cloud-init, and persists in the PowerVS instance record for the VM's lifetime.

IBM IAM bearer tokens derived from an API key inherit the full IAM policy of that key and are not scoped to a single COS object. The CAPIBM bootstrap key typically has broad rights (create/delete VPCs, PowerVS instances, transit gateways, COS buckets, load balancers) across the resource group. This collapses the worker-node/management-plane trust boundary that CAPI is designed to enforce.

An attacker with code execution on a freshly-provisioned PowerVS worker can read the token from user-data within the ~60 minute validity window and use it to enumerate and manipulate all infrastructure managed by the API key.

Upstream: https://github.com/openshift/cluster-api-provider-ibmcloud
Audited commit: 8b6396a4c78f4791b7f3c5ec404a78b499f8546b
Contact: Karthik Bhat


Note You need to log in before you can comment on or make changes to this bug.