Bug 2522280 (CVE-2026-103657)

Summary: CVE-2026-103657 openshift-cloud-provider-kubevirt: Tenant Service annotations and ExternalIPs propagated unfiltered to infra-cluster LoadBalancer Service
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akhatavk, aos-team-art-private, asdas, dpaolell, jdelft, jupierce, lgarciaa, mbiarnes, ppalepu, ppostler, prdhamdh, security-response-team, sghai, sidsharm, suppawar, vlaad
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in cloud-provider-kubevirt. This vulnerability allows an authenticated tenant administrator to intercept network traffic or manipulate infrastructure routing. When provisioning load balancer services in the underlying infrastructure cluster, the provider copies tenant-supplied configuration annotations and external IP (Internet Protocol) addresses without validation. An attacker with tenant administrator privileges can exploit this issue to redirect infrastructure cluster traffic to their own endpoints.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-08-24 17:46:34 UTC
## Tenant Service annotations and ExternalIPs propagated verbatim to infra-cluster Services

**CWEs:** CWE-441, CWE-668
**CVSS:** 8.2 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N)
**Component:** sustaining-engineering/openshift--cloud-provider-kubevirt

### Description
createLoadBalancerService builds the infra-cluster LoadBalancer Service with Annotations: service.Annotations taken directly from the tenant-cluster Service, and copies tenant-supplied spec.externalIPs and spec.loadBalancerIP without validation or allow-listing. Infra-cluster LB controllers (MetalLB address-pool/sharing annotations, external-dns hostname annotations, cloud LB implementation annotations) act on these annotations with infra-cluster authority, so a tenant-cluster admin — a lower-privilege principal — can steer infra load-balancer behavior. Tenant-chosen externalIPs are materialized on an infra Service, which reproduces the CVE-2020-8554 pattern: kube-proxy in the infra cluster will route traffic destined to that IP to the tenant's endpoints, enabling interception of infra-cluster traffic to arbitrary IPs.

### Affected Locations
- `:`

### Evidence
**pkg/provider/loadbalancer.go lines 196-220**
```go
lbService := &corev1.Service{
    ObjectMeta: metav1.ObjectMeta{
        Name:        lbName,
        Namespace:   lb.namespace,
        Annotations: service.Annotations,   // tenant-controlled
        Labels:      lbLabels,
    },
    ...
}
if len(service.Spec.ExternalIPs) > 0 {
    lbService.Spec.ExternalIPs = service.Spec.ExternalIPs // tenant-controlled
}
```

### Attack Pattern
A tenant-cluster admin creating a LoadBalancer Service gains annotation-level control over infra LB controllers and can claim arbitrary external IPs in the infra cluster to intercept traffic.

---
*Source: Ex-Wing security assessment, finding FIND-002*