CVE-2026-87055

Description

A flaw was found in operator-sdk-builder. The software uses a flexible label, called a mutable tag, to identify its base container image instead of a unique, fixed identifier. This practice allows the underlying base image to change unexpectedly between builds. Such a change could introduce vulnerabilities or malicious code into the build process, posing a supply chain integrity risk.

Statement

This issue has a Low impact as it primarily affects the integrity of the build process rather than introducing a runtime vulnerability in deployed applications. Referencing base images with mutable tags can lead to inconsistent builds if the underlying image changes, potentially introducing unexpected behavior or dependencies.

Mitigation

To mitigate this issue, ensure that the `FROM` line in the `Containerfile` references the base image using an immutable SHA256 digest instead of a mutable tag. For example, update the `FROM` line to `FROM registry.access.redhat.com/ubi9/go-toolset:1.25.5-1770654497@sha256:<digest>`. This practice ensures that the base image remains consistent across builds, improving build integrity. This change requires modifying the `Containerfile` and rebuilding the image.

Understanding the Weakness (CWE)

Confidentiality,Integrity,Availability

Technical Impact: Execute Unauthorized Code or Commands

An attacker could insert malicious functionality into the program by causing the program to download code that the attacker has placed into the untrusted control sphere, such as a malicious web site. This could enable the injection of malware, information exposure by granting excessive privileges or permissions to the untrusted functionality, DOM-based XSS vulnerabilities, stealing user's cookies, open redirect to malware (CWE-601), etc.

Frequently Asked Questions

Want to get errata notifications? Sign up here.