Security mailing lists by PureSourceCode

CVE-2026-82976

HIGH 7.1CVSS 3.1

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

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

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

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

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.

Published
3 Nov 2026
Last modified
3 Dec 2026
Assigned by
secalert@redhat.com
NVD status
Awaiting Analysis
Weakness
CWE-548
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CVE List redhat CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://catalog.redhat.com/software/containers/ openshift4/ose-image-customization-controller-rhel8
cpe:/a:redhat:openshift:4.14::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift4/ose-image-customization-controller-rhel9
cpe:/a:redhat:openshift:4.16::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift4/ose-image-customization-controller-rhel9
cpe:/a:redhat:openshift:4.18::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift4/ose-image-customization-controller-rhel9
cpe:/a:redhat:openshift:4.19::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift4/ose-image-customization-controller-rhel9
cpe:/a:redhat:openshift:4.20::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift4/ose-image-customization-controller-rhel9
cpe:/a:redhat:openshift:4.21::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift4/ose-image-customization-controller-rhel9
cpe:/a:redhat:openshift:4.22::el9
all versions
CVE List https://catalog.redhat.com/software/containers/ openshift5/ose-image-customization-controller-rhel9
cpe:/a:redhat:openshift:5.0::el9
all versions

References

History

  • 3 Dec 2026 21:56 UTC · NVD: 3 references added
  • 3 Dec 2026 19:56 UTC · CVE List: affected list changed (8 entries); 3 references added
  • 2 Dec 2026 05:38 UTC · NVD: 2 references added
  • 2 Dec 2026 04:31 UTC · CVE List: affected list changed (6 entries); 2 references added
  • 30 Nov 2026 21:25 UTC · NVD: 3 references added
  • 30 Nov 2026 20:17 UTC · CVE List: first stored (published 3 Nov 2026)
  • 25 Nov 2026 21:23 UTC · NVD: first stored (published 3 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.