{"id":"CVE-2026-63121","state":"PUBLISHED","title":"Kubewarden trusted-repos-policy: uppercase registry host bypasses registry/image deny rules","description":"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.","publishedAt":"2026-10-30T22:08:03.004Z","updatedAt":"2026-10-30T22:08:03.004Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["kubewarden policies"],"affected":[{"vendor":"kubewarden","product":"policies","versions":[{"version":"< 2.1.2","status":"affected"}]}],"references":["https://github.com/kubewarden/policies/security/advisories/GHSA-8p62-9vh2-272p","https://github.com/kubewarden/policies/commit/bc5597fcbbb0bc464b714ca7ff645c9743dea41b","https://github.com/kubewarden/policies/tree/trusted-repos-policy/v2.1.2"],"weaknesses":["CWE-178"],"ingestedAt":"2026-10-30T22:16:06.501Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/63xxx/CVE-2026-63121.json","commit":"226652b7321cd45ef01add6f464a8114b52515e5","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-63121","state":"PUBLISHED","datePublished":"2026-10-30T22:08:03.004Z","dateUpdated":"2026-10-30T22:08:03.004Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-15T16:54:55.816Z"},"containers":{"cna":{"title":"Kubewarden trusted-repos-policy: uppercase registry host bypasses registry/image deny rules","descriptions":[{"lang":"en","value":"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":[{"vendor":"kubewarden","product":"policies","versions":[{"version":"< 2.1.2","status":"affected"}]}],"references":[{"url":"https://github.com/kubewarden/policies/security/advisories/GHSA-8p62-9vh2-272p","name":"https://github.com/kubewarden/policies/security/advisories/GHSA-8p62-9vh2-272p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/kubewarden/policies/commit/bc5597fcbbb0bc464b714ca7ff645c9743dea41b","name":"https://github.com/kubewarden/policies/commit/bc5597fcbbb0bc464b714ca7ff645c9743dea41b","tags":["x_refsource_MISC"]},{"url":"https://github.com/kubewarden/policies/tree/trusted-repos-policy/v2.1.2","name":"https://github.com/kubewarden/policies/tree/trusted-repos-policy/v2.1.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-178","lang":"en","description":"CWE-178: Improper Handling of Case Sensitivity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-30T22:08:03.004Z"},"source":{"advisory":"GHSA-8p62-9vh2-272p","discovery":"UNKNOWN"}}}}}