Kubernetes check

Container image uses a mutable tag

K8S-IMG-001HighImage security

Trigger condition

A container's image reference uses the 'latest' tag, or has no tag at all, and is not pinned by digest.

Evidence

Identifies the container and its image reference, including the observed tag (or notes that none is present).

Impact

A mutable tag such as 'latest', or no tag at all, means the exact image content running today may differ from what runs after the next pod restart, undermining reproducibility, rollback safety, and supply-chain traceability.

Recommendation

Pin the image to a specific version tag at minimum. For a content-addressed, truly immutable reference, pin to a digest instead or in addition (e.g. app@sha256:...).

Important limitations

A specific version tag (e.g. app:1.4.2) is a meaningful improvement over 'latest', but a tag can still be overwritten and re-pushed in the registry -- it is not itself a guarantee of immutability. Only a digest reference is truly content-addressed and immutable.

← Back to the check catalogue