Red Hat OpenShift Container Platform
Image-customization-controller: unauthenticated plaintext image server with directory listing exposes ignition images containing cluster pull secret
CVE-2026-82976Published 3 Nov 2026, 18:36 UTC
Real-world risk
2.7/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from redhat)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Red Hat OpenShift Container PlatformWidespread | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | AdjacentSame Wi-Fi, Bluetooth range or network segment | From the CVSS vector | 0.40 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 29), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.400
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.4 × threat 0.852.720
- Rounded to one decimal between 0.1 and 102.7
Exploitation and evidence timeline
- 3 Nov 2026 Published
- 2 Dec 2026 Risk 2.7 (cvss fallback)
Weakness
CWE-548
References
- https://access.redhat.com/errata/RHSA-2026:102896redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:102899redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:102914redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:102917redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:103453redhat, vendor-advisory
- https://access.redhat.com/security/cve/CVE-2026-82976redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2526334issue-tracking, redhat
- https://github.com/openshift/image-customization-controller
- https://redhat.atlassian.net/browse/OCPBUGS-105396
- CVE-2026-82976 on CVE.org