---
id: CVE-2026-63121
title: >-
  Kubewarden trusted-repos-policy: uppercase registry host bypasses
  registry/image deny rules
summary: >-
  Kubewarden policies is a collection of WebAssembly policies for securing and
  governing Kubernetes clusters. For versions provisionally classified as
  affected before 2.1.2, `trusted-repos-policy` compares an image's `registry`
  hostname ag…
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L'
cvssSource: cna
cwe:
  - CWE-178
vendor: kubewarden
product: policies
affected:
  - policies < 2.1.2
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T02:56:06.807176Z'
published: '2026-10-30'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T02:56:16.633Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-63121'
references:
  - url: >-
      https://github.com/kubewarden/policies/security/advisories/GHSA-8p62-9vh2-272p
    label: >-
      https://github.com/kubewarden/policies/security/advisories/GHSA-8p62-9vh2-272p
  - url: >-
      https://github.com/kubewarden/policies/commit/bc5597fcbbb0bc464b714ca7ff645c9743dea41b
    label: >-
      https://github.com/kubewarden/policies/commit/bc5597fcbbb0bc464b714ca7ff645c9743dea41b
  - url: 'https://github.com/kubewarden/policies/tree/trusted-repos-policy/v2.1.2'
    label: 'https://github.com/kubewarden/policies/tree/trusted-repos-policy/v2.1.2'
tags:
  - cve.org
epss: 0.00193
epssPercentile: 0.09036
ingestedAt: '2026-11-05T21:36:00.718Z'
---

## Overview

Kubewarden policies is a collection of WebAssembly policies for securing and governing Kubernetes clusters. For versions provisionally classified as affected before 2.1.2, `trusted-repos-policy` compares an image's `registry` hostname against `reject lists` and `allow lists` case-sensitively even though `registry` DNS names are case-insensitive. An image with an uppercase or mixed-case `registry` hostname can miss a rejection rule for the equivalent lowercase host, so the admission policy accepts a resource whose container runtime pulls the same prohibited image. Only reject-list configurations have this bypass: allow-list configurations fail closed by over-denying differently cased hostnames. The security consequences depend on the configured rejection policy and deployment environment. This issue is fixed in version 2.1.2.

## Affected

- `policies < 2.1.2`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
