CVE-2026-82976 (GCVE-0-2026-82976)
Vulnerability from cvelistv5
Published
2026-11-03 18:36
Modified
2026-11-05 02:19
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-548 - Exposure of Information Through Directory Listing
Summary
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.
References
| URL | Tags | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||||||
Impacted products
| Vendor | Product | Version | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4 |
cpe:/a:redhat:openshift:4 |
||||||||||||
|
||||||||||||||
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"cpes": [
"cpe:/a:redhat:openshift:4"
],
"defaultStatus": "affected",
"packageName": "openshift4/ose-image-customization-controller-rhel8",
"product": "Red Hat OpenShift Container Platform 4",
"vendor": "Red Hat"
},
{
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"cpes": [
"cpe:/a:redhat:openshift:4"
],
"defaultStatus": "affected",
"packageName": "openshift4/ose-image-customization-controller-rhel9",
"product": "Red Hat OpenShift Container Platform 4",
"vendor": "Red Hat"
},
{
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"cpes": [
"cpe:/a:redhat:openshift:5"
],
"defaultStatus": "affected",
"packageName": "openshift5/ose-image-customization-controller-rhel9",
"product": "Red Hat OpenShift Container Platform 5",
"vendor": "Red Hat"
}
],
"datePublic": "2026-11-03T12:03:30.152Z",
"descriptions": [
{
"lang": "en",
"value": "A flaw was found in the image-customization-controller used in OpenShift\u0027s 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.\n\n### Evidence\n**pkg/imagehandler/imagefilesystem.go \u2014 root directory is browsable and enumerates all UUID image names**\n```go\nfunc (f *imageFileSystem) Readdir(n int) ([]fs.FileInfo, error) {\n f.mu.Lock()\n defer f.mu.Unlock()\n result := []fs.FileInfo{}\n for _, im := range f.images {\n result = append(result, im)\n }\n return result, nil\n}\n\nfunc (f *imageFileSystem) Open(name string) (http.File, error) {\n f.log.Info(\"Open\", \"path\", name)\n if name == \"/\" {\n return f, nil\n }\n ...\n```\n\n**cmd/controller/main.go \u2014 file server bound on all interfaces without auth or TLS**\n```go\nhttp.Handle(\"/\", http.FileServer(imageServer.FileSystem()))\n\ngo func() {\n server := \u0026http.Server{\n Addr: imagesBindAddr, // default \":8084\"\n ReadHeaderTimeout: 5 * time.Second,\n }\n err := server.ListenAndServe()\n```\n\n**pkg/ignition/service_config.go:94-100 \u2014 pull secret is embedded in every served image**\n```go\nfunc (b *ignitionBuilder) authFile() ignition_config_types_32.File {\n source := \"data:;base64,\" + strings.TrimSpace(b.ironicAgentPullSecret)\n return ignition_config_types_32.File{\n Node: ignition_config_types_32.Node{Path: \"/etc/authfile.json\"},\n ...\n```\n\n### Attack Pattern\nAdjacent provisioning-network client \u2192 GET / lists UUID image names \u2192 download ISO/initramfs \u2192 extract embedded Ignition \u2192 recover cluster pull secret and SSH key."
}
],
"metrics": [
{
"other": {
"content": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"value": "Important"
},
"type": "Red Hat severity rating"
}
},
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "ADJACENT_NETWORK",
"availabilityImpact": "NONE",
"baseScore": 7.1,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
"version": "3.1"
},
"format": "CVSS"
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-548",
"description": "Exposure of Information Through Directory Listing",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-05T02:19:12.537Z",
"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"shortName": "redhat"
},
"references": [
{
"tags": [
"vdb-entry",
"x_refsource_REDHAT"
],
"url": "https://access.redhat.com/security/cve/CVE-2026-82976"
},
{
"name": "RHBZ#2526334",
"tags": [
"issue-tracking",
"x_refsource_REDHAT"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2526334"
},
{
"url": "https://github.com/openshift/image-customization-controller"
},
{
"url": "https://redhat.atlassian.net/browse/OCPBUGS-105396"
}
],
"timeline": [
{
"lang": "en",
"time": "2026-08-07T10:39:22.000Z",
"value": "Reported to Red Hat."
},
{
"lang": "en",
"time": "2026-11-03T12:03:30.152Z",
"value": "Made public."
}
],
"title": "Image-customization-controller: unauthenticated plaintext image server with directory listing exposes ignition images containing cluster pull secret",
"workarounds": [
{
"lang": "en",
"value": "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.\n\n--- CME Mitigation Guidance (2026-11-04) ---\nDisclaimer: 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.\n\nThe 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 \u2014 apply the upstream patch to fully remediate.\n\nHighest-impact CME: CME-805 Credential Rotation Policy (medium)"
}
],
"x_generator": {
"engine": "cvelib 1.8.0"
},
"x_redhatCweChain": "CWE-548: Exposure of Information Through Directory Listing"
}
},
"cveMetadata": {
"assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"assignerShortName": "redhat",
"cveId": "CVE-2026-82976",
"datePublished": "2026-11-03T18:36:24.334Z",
"dateReserved": "2026-08-31T14:59:35.045Z",
"dateUpdated": "2026-11-05T02:19:12.537Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…