CVE-2026-82976

Image-customization-controller: unauthenticated plaintext image server with directory listing exposes ignition images containing cluster pull secret

Published Nov 3, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
A flaw was found in the image-customization-controller used in OpenShift's bare metal provisioning stack. The controller registers an HTTP file server on port 8084 with no authentication. The custom imageFileSystem implementation exposes a browsable HTML directory listing of all registered images at the root path. The only access control on per-host images is the random UUID filename; the directory listing discloses those UUIDs to any caller on the provisioning network. Each served image embeds an Ignition config containing the base64-encoded cluster pull secret, optional IRONIC_RAMDISK_SSH_KEY, proxy settings, and per-host NetworkManager keyfiles. An adjacent network attacker can enumerate all image UUIDs via directory listing, download any image, extract the embedded Ignition config, and recover the cluster pull secret and SSH key.

### Evidence
**pkg/imagehandler/imagefilesystem.go — root directory is browsable and enumerates all UUID image names**
```go
func (f *imageFileSystem) Readdir(n int) ([]fs.FileInfo, error) {
f.mu.Lock()
defer f.mu.Unlock()
result := []fs.FileInfo{}
for _, im := range f.images {
result = append(result, im)
}
return result, nil
}

func (f *imageFileSystem) Open(name string) (http.File, error) {
f.log.Info("Open", "path", name)
if name == "/" {
return f, nil
}
...
```

**cmd/controller/main.go — file server bound on all interfaces without auth or TLS**
```go
http.Handle("/", http.FileServer(imageServer.FileSystem()))

go func() {
server := &http.Server{
Addr: imagesBindAddr, // default ":8084"
ReadHeaderTimeout: 5 * time.Second,
}
err := server.ListenAndServe()
```

**pkg/ignition/service_config.go:94-100 — pull secret is embedded in every served image**
```go
func (b *ignitionBuilder) authFile() ignition_config_types_32.File {
source := "data:;base64," + strings.TrimSpace(b.ironicAgentPullSecret)
return ignition_config_types_32.File{
Node: ignition_config_types_32.Node{Path: "/etc/authfile.json"},
...
```

### Attack Pattern
Adjacent provisioning-network client → GET / lists UUID image names → download ISO/initramfs → extract embedded Ignition → recover cluster pull secret and SSH key.

Analysis

AI-generated

Technical impact

The image‑customization‑controller in OpenShift’s bare‑metal provisioning stack launches an unauthenticated HTTP file server on port 8084. The exposed directory listing reveals random‑UUID filenames and allows download of ISO/initramfs images that embed Ignition configurations. These configurations carry base64‑encoded cluster pull secrets, optional SSH keys and proxy settings. Consequently, any host on the provisioning network can enumerate and retrieve these images, subsequently extracting privileged secrets that grant full cluster administration rights.

Affected Systems

Red Hat OpenShift Container Platform versions 4.x and 5.x are impacted. All installations that deploy the image‑customization‑controller service without mitigating this flaw are susceptible. No specific RFC‑identified minor version numbers are listed, so all current supported releases are at risk unless a patched image is in use.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity issue, although an EPSS score is not available. The vulnerability is not listed in the CISA KEV catalogue. Attackers who are adjacent to the provisioning network can perform directory listing, download arbitrary images, and decode the embedded secrets. A successful exploitation would expose cluster‑wide credentials and SSH keys, enabling a full administrative takeover of the OpenShift cluster. Because the flaw relies on network proximity and the service does not authenticate requests, the exploitability is high for attackers within the same network.

Remediation

Vendor Workaround

There is no way to disable the directory listing or add authentication without a code change. As a workaround, administrators can apply network-level controls to restrict access to port 8084 on the image-customization-controller pod to only the BMC/provisioning network hosts that require it. Use NetworkPolicy or firewall rules to block access from workload pods. Additionally, rotate any pull secrets and SSH keys that may have been exposed if unauthorized access to the provisioning network is suspected. --- CME Mitigation Guidance (2026-11-04) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce NetworkPolicy to restrict ingress traffic to port 8084 on the image-customization-controller pod, isolating the unauthenticated HTTP file server from cluster workloads: upgrade to the fixed Openshift4/Ose Image Customization Controller Rhel/Openshift5/Ose Image Customization Controller Rhel builds, which apply the documented input check, closing all 2 injection vectors (HTTP root directory listing enumeration, unauthenticated image retrieval and secret extraction). Until patched, this is a concern on OpenShift bare metal IPI clusters running the image-customization-controller, so Apply NetworkPolicy or firewall rules to restrict port 8084 access strictly to authorized BMC and provisioning network hosts, blocking workload pods from accessing the service. As a compensating measure, Rotate exposed cluster pull secrets and ramdisk SSH keys to limit their operational validity window if unauthorized provisioning network access is suspected. These controls limit blast radius and contain exploitation, but they do not fix the underlying unauthenticated directory listing exposure defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-805 Credential Rotation Policy (medium)


OpenCVE Recommended Actions

  • Restrict port 8084 on the image‑customization‑controller pod to the provisioning network by applying NetworkPolicy or firewall rules and block access from workload pods.
  • If the cluster is already exposed, rotate the cluster pull secret and any SSH keys that may have been compromised.
  • Monitor for unauthorized image downloads and validate that only trusted provisioning hosts can reach the service.

Generated by OpenCVE AI on November 3, 2026 at 19:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 Redhat openshift Container Platform
Vendors & Products Redhat openshift Container Platform
Type Values Removed Values Added
Description A flaw was found in the image-customization-controller used in OpenShift's bare metal provisioning stack. The controller registers an HTTP file server on port 8084 with no authentication. The custom imageFileSystem implementation exposes a browsable HTML directory listing of all registered images at the root path. The only access control on per-host images is the random UUID filename; the directory listing discloses those UUIDs to any caller on the provisioning network. Each served image embeds an Ignition config containing the base64-encoded cluster pull secret, optional IRONIC_RAMDISK_SSH_KEY, proxy settings, and per-host NetworkManager keyfiles. An adjacent network attacker can enumerate all image UUIDs via directory listing, download any image, extract the embedded Ignition config, and recover the cluster pull secret and SSH key. ### Evidence **pkg/imagehandler/imagefilesystem.go — root directory is browsable and enumerates all UUID image names** ```go func (f *imageFileSystem) Readdir(n int) ([]fs.FileInfo, error) { f.mu.Lock() defer f.mu.Unlock() result := []fs.FileInfo{} for _, im := range f.images { result = append(result, im) } return result, nil } func (f *imageFileSystem) Open(name string) (http.File, error) { f.log.Info("Open", "path", name) if name == "/" { return f, nil } ... ``` **cmd/controller/main.go — file server bound on all interfaces without auth or TLS** ```go http.Handle("/", http.FileServer(imageServer.FileSystem())) go func() { server := &http.Server{ Addr: imagesBindAddr, // default ":8084" ReadHeaderTimeout: 5 * time.Second, } err := server.ListenAndServe() ``` **pkg/ignition/service_config.go:94-100 — pull secret is embedded in every served image** ```go func (b *ignitionBuilder) authFile() ignition_config_types_32.File { source := "data:;base64," + strings.TrimSpace(b.ironicAgentPullSecret) return ignition_config_types_32.File{ Node: ignition_config_types_32.Node{Path: "/etc/authfile.json"}, ... ``` ### Attack Pattern Adjacent provisioning-network client → GET / lists UUID image names → download ISO/initramfs → extract embedded Ignition → recover cluster pull secret and SSH key.
Title Image-customization-controller: unauthenticated plaintext image server with directory listing exposes ignition images containing cluster pull secret
First Time appeared Redhat
Redhat openshift
Weaknesses CWE-548
CPEs cpe:/a:redhat:openshift:4
cpe:/a:redhat:openshift:5
Vendors & Products Redhat
Redhat openshift
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-548

    Exposure of Information Through Directory Listing

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 9, 2026, 3:39 PM
Reserved
Aug 31, 2026, 2:59 PM
Status
Awaiting Analysis
Published
Nov 3, 2026, 7:18 PM
Modified
Nov 9, 2026, 4:17 PM
Severity
Important
Public date
Nov 3, 2026, 12:03 PM