{"id":"CVE-2026-63121","summary":"Kubewarden trusted-repos-policy: uppercase registry host bypasses registry/image deny rules","details":"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.","aliases":["GHSA-8p62-9vh2-272p"],"modified":"2026-11-05T21:15:31.324649382Z","published":"2026-10-30T22:08:03.004Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-178"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63121.json"},"references":[{"type":"WEB","url":"https://github.com/kubewarden/policies/tree/trusted-repos-policy/v2.1.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63121.json"},{"type":"ADVISORY","url":"https://github.com/kubewarden/policies/security/advisories/GHSA-8p62-9vh2-272p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-63121"},{"type":"FIX","url":"https://github.com/kubewarden/policies/commit/bc5597fcbbb0bc464b714ca7ff645c9743dea41b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kubewarden/policies","events":[{"introduced":"0"},{"fixed":"965ef36edb9328a63fe2277a6eb3656586189150"},{"fixed":"bc5597fcbbb0bc464b714ca7ff645c9743dea41b"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2.1.2"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"bc5597fcbbb0bc464b714ca7ff645c9743dea41b"}]}]}}],"versions":["runtime-enforcer-policy/v0.1.2","disallow-service-nodeport-policy/v1.0.0","image-cve-policy/v0.6.1","user-group-psp-policy/v1.1.6","raw-validation-policy/v0.1.3","raw-validation-opa-policy/v0.0.4","raw-mutation-wasi-policy/v0.0.4","rancher-project-quotas-namespace-validator/v1.0.11","raw-mutation-policy/v0.0.4","rancher-project-propagate-labels/v0.1.5","psa-label-enforcer-policy/v1.0.12","priority-class-policy/v1.1.6","probes-policy/v1.0.5","ns-policyserver-mapper-policy/v0.1.1","namespace-label-propagator-policy/v1.0.10","labels-policy/v0.1.8","ingress-policy/v1.0.9","kyverno-dsl-policy/v0.1.9","high-risk-service-account-policy/v0.1.7","hostpaths-psp-policy/v1.1.8","host-namespaces-psp-policy/v1.1.9","environment-variable-policy/v3.0.6","go-wasi-context-aware-test-policy/v0.0.4","flexvolume-drivers-psp-policy/v1.0.15","env-variable-secrets-scanner-policy/v1.0.13","echo/v0.1.17","disallow-service-loadbalancer-policy/v1.0.12","do-not-expose-admission-controller-webhook-services-policy/v1.1.6","deprecated-api-versions-policy/v1.0.9","context-aware-demo/v0.1.13","capabilities-psp-policy/v1.0.11","container-resources-policy/v1.3.4","cel-policy/v1.6.1","apparmor-psp-policy/v1.0.12","allowed-fsgroups-psp-policy/v1.0.10","annotations-policy/v0.1.9","allowed-proc-mount-types-psp-policy/v1.0.13","allow-privilege-escalation-psp-policy/v1.0.11","pod-runtime-class-policy/v1.0.10","pod-privileged-policy/v1.0.11","pod-ndots-policy/v1.0.10","persistentvolumeclaim-storageclass-policy/v1.1.6","readonly-root-filesystem-psp-policy/v1.0.11","raw-validation-wasi-policy/v0.0.4","runtime-enforcer-policy/v0.1.1","safe-annotations-policy/v1.0.5","seccomp-psp-policy/v1.0.13","selinux-psp-policy/v1.1.0","share-pid-namespace-policy/v1.0.12","unique-service-selector-policy/v1.0.11","sleeping-policy/v0.1.5","sysctl-psp-policy/v1.0.12","trusted-repos-policy/v2.1.1","unique-ingress-policy/v1.0.10","verify-image-signatures/v1.0.9","volumeMounts-policy/v1.0.9","volumes-psp-policy/v1.1.8","safe-labels-policy/v1.0.10","runtime-enforcer-policy/v0.1.0","ns-policyserver-mapper-policy/v0.1.0","image-cve-policy/v0.6.0","trusted-repos-policy/v2.1.0","cel-policy/v1.6.0","allowed-fsgroups-psp-policy/v1.0.9","volumes-psp-policy/v1.1.7","volumeMounts-policy/v1.0.8","verify-image-signatures/v1.0.8","user-group-psp-policy/v1.1.5","unique-service-selector-policy/v1.0.10","unique-ingress-policy/v1.0.9","trusted-repos-policy/v2.0.6","sleeping-policy/v0.1.4","sysctl-psp-policy/v1.0.11","share-pid-namespace-policy/v1.0.11","selinux-psp-policy/v1.0.8","seccomp-psp-policy/v1.0.12","readonly-root-filesystem-psp-policy/v1.0.10","safe-labels-policy/v1.0.9","raw-validation-policy/v0.1.2","safe-annotations-policy/v1.0.4","raw-validation-opa-policy/v0.0.3","raw-validation-wasi-policy/v0.0.3","raw-mutation-wasi-policy/v0.0.3","raw-mutation-policy/v0.0.3","rancher-project-quotas-namespace-validator/v1.0.10","rancher-project-propagate-labels/v0.1.4","psa-label-enforcer-policy/v1.0.11","probes-policy/v1.0.4","pod-runtime-class-policy/v1.0.9","priority-class-policy/v1.1.5","pod-privileged-policy/v1.0.10","pod-ndots-policy/v1.0.9","persistentvolumeclaim-storageclass-policy/v1.1.5","namespace-label-propagator-policy/v1.0.9","labels-policy/v0.1.7","kyverno-dsl-policy/v0.1.8","ingress-policy/v1.0.8","image-cve-policy/v0.5.8","hostpaths-psp-policy/v1.1.7","high-risk-service-account-policy/v0.1.6","host-namespaces-psp-policy/v1.1.8","env-variable-secrets-scanner-policy/v1.0.12","go-wasi-context-aware-test-policy/v0.0.3","flexvolume-drivers-psp-policy/v1.0.14","disallow-service-nodeport-policy/v0.1.11","environment-variable-policy/v3.0.5","echo/v0.1.16","do-not-expose-admission-controller-webhook-services-policy/v1.1.5","context-aware-demo/v0.1.12","disallow-service-loadbalancer-policy/v1.0.11","deprecated-api-versions-policy/v1.0.8","container-resources-policy/v1.3.3","capabilities-psp-policy/v1.0.10","cel-policy/v1.5.6","apparmor-psp-policy/v1.0.11","annotations-policy/v0.1.8","allow-privilege-escalation-psp-policy/v1.0.10","allowed-proc-mount-types-psp-policy/v1.0.12","raw-validation-policy/v0.1.1","labels-policy/v0.1.6","allow-privilege-escalation-psp-policy/v1.0.9","allowed-proc-mount-types-psp-policy/v1.0.11","deprecated-api-versions-policy/v1.0.7","seccomp-psp-policy/v1.0.11","apparmor-psp-policy/v1.0.10","capabilities-psp-policy/v1.0.9","env-variable-secrets-scanner-policy/v1.0.11","image-cve-policy/v0.5.7","persistentvolumeclaim-storageclass-policy/v1.1.4","flexvolume-drivers-psp-policy/v1.0.13","verify-image-signatures/v1.0.7","annotations-policy/v0.1.7","psa-label-enforcer-policy/v1.0.10","share-pid-namespace-policy/v1.0.10","cel-policy/v1.5.5","priority-class-policy/v1.1.4","unique-service-selector-policy/v1.0.9","trusted-repos-policy/v2.0.5","do-not-expose-admission-controller-webhook-services-policy/v1.1.4","context-aware-demo/v0.1.11","hostpaths-psp-policy/v1.1.6","rancher-project-quotas-namespace-validator/v1.0.9","ingress-policy/v1.0.7","rancher-project-propagate-labels/v0.1.3","high-risk-service-account-policy/v0.1.5","unique-ingress-policy/v1.0.8","pod-privileged-policy/v1.0.9","user-group-psp-policy/v1.1.4","readonly-root-filesystem-psp-policy/v1.0.9","echo/v0.1.15","pod-runtime-class-policy/v1.0.8","selinux-psp-policy/v1.0.7","host-namespaces-psp-policy/v1.1.7","environment-variable-policy/v3.0.4","pod-ndots-policy/v1.0.8","probes-policy/v1.0.3","volumeMounts-policy/v1.0.7","sleeping-policy/v0.1.3","sysctl-psp-policy/v1.0.10","volumes-psp-policy/v1.1.6","kyverno-dsl-policy/v0.1.7","safe-annotations-policy/v1.0.3","namespace-label-propagator-policy/v1.0.8","container-resources-policy/v1.3.2","disallow-service-loadbalancer-policy/v1.0.10","disallow-service-nodeport-policy/v0.1.10","safe-labels-policy/v1.0.8","raw-validation-wasi-policy/v0.0.2","raw-validation-opa-policy/v0.0.2","raw-mutation-wasi-policy/v0.0.2","go-wasi-context-aware-test-policy/v0.0.2","raw-mutation-policy/v0.0.2","rancher-project-quotas-namespace-validator/v1.0.8","rancher-project-propagate-labels/v0.1.2","psa-label-enforcer-policy/v1.0.9","disallow-service-nodeport-policy/v0.1.9","verify-image-signatures/v1.0.6","unique-service-selector-policy/v1.0.8","share-pid-namespace-policy/v1.0.9","seccomp-psp-policy/v1.0.10","persistentvolumeclaim-storageclass-policy/v1.1.3","labels-policy/v0.1.5","ingress-policy/v1.0.6","image-cve-policy/v0.5.6","hostpaths-psp-policy/v1.1.5","high-risk-service-account-policy/v0.1.4","flexvolume-drivers-psp-policy/v1.0.12","env-variable-secrets-scanner-policy/v1.0.10","deprecated-api-versions-policy/v1.0.6","cel-policy/v1.5.4","capabilities-psp-policy/v1.0.8","apparmor-psp-policy/v1.0.9","annotations-policy/v0.1.6","allowed-proc-mount-types-psp-policy/v1.0.10","allowed-fsgroups-psp-policy/v1.0.8","allow-privilege-escalation-psp-policy/v1.0.8","allowed-fsgroups-psp-policy/v1.0.7","context-aware-demo/v0.1.10","flexvolume-drivers-psp-policy/v1.0.11","disallow-service-nodeport-policy/v0.1.8","flexvolume-drivers-psp-policy/v1.0.10","image-cve-policy/v0.5.5","hostpaths-psp-policy/v1.1.4","cel-policy/v1.5.3","verify-image-signatures/v1.0.5","seccomp-psp-policy/v1.0.9","persistentvolumeclaim-storageclass-policy/v1.1.2","ingress-policy/v1.0.5","high-risk-service-account-policy/v0.1.3","deprecated-api-versions-policy/v1.0.5","apparmor-psp-policy/v1.0.8","annotations-policy/v0.1.5","allowed-proc-mount-types-psp-policy/v1.0.9","allowed-fsgroups-psp-policy/v1.0.6","allow-privilege-escalation-psp-policy/v1.0.7"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63121.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"}]}