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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-548
- **Published:** 2026-11-03T18:36:24.334Z
- **Modified:** 2026-11-09T16:17:34.843Z

## Who should check

- Anyone running Red Hat OpenShift Container Platform 4 all versions
- Anyone running Red Hat OpenShift Container Platform 5 all versions

## 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.

## Affected and fixed versions

- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat OpenShift Container Platform 4: all versions (cvelist)
- Red Hat OpenShift Container Platform 5: all versions (cvelist)

## Mitigation

- 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)

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-82976. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-82976.md
Affected: Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Red Hat OpenShift Container Platform 4, Red Hat OpenShift Container Platform 5: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-82976 being exploited?

There is no confirmed exploitation: CVE-2026-82976 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-82976?

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-82976?

Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 5 all versions.

### Is there a fix for CVE-2026-82976?

No fixed version is listed in the sources yet. 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)

### How do I check if I'm affected by CVE-2026-82976?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://access.redhat.com/security/cve/CVE-2026-82976>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2526334>
- other: <https://github.com/openshift/image-customization-controller>
- other: <https://redhat.atlassian.net/browse/OCPBUGS-105396>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-82976>

HTML: <https://flawdb.com/CVE-2026-82976> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-82976>
