v1.18

Contains release notes of Nirmata Enterprise for Kyverno v1.18

The latest version of the 1.18 release of Enterprise Kyverno is v1.18.0-n4k.nirmata.7, released October 9, 2026.

Enterprise Kyverno 1.18 is built on upstream Kyverno 1.18 and supports Kubernetes 1.33 through 1.37. For the full support matrix, see Compatibility.

For a complete list of changes, refer to the upstream Changelog.

v1.18.0-n4k.nirmata.7 — October 9, 2026

CVEComponentSeverityFix typeImage(s) affectedNotes
GHSA-2r43-6962-xcw5github.com/kyverno/kyvernoCriticalCode changekyverno, background-controller, reports-controller, cleanup-controllerThe image verification cache keyed a prior pass verdict on the image reference string, which could be a bare tag. Because a registry can repoint a tag, a verdict earned by one image could later be served for a different image pushed to the same tag. Fixed by refusing to store or serve any cache entry whose reference is not digest-pinned, and by resolving the digest before deriving the key.
GHSA-3xfv-vq8x-qhg4github.com/kyverno/kyvernoCriticalCode changekyverno, background-controller, reports-controller, cleanup-controllerA namespaced Policy apiCall validated the urlPath against the whole string, query and fragment included, but executed only the parsed path, so validation and execution disagreed on the target. A decoy /namespaces// segment hidden in a query or fragment satisfied the namespace clamp while the request reached a cluster-scoped endpoint, letting a tenant create cluster-scoped objects (for example MutatingWebhookConfigurations) as the Kyverno ServiceAccount and escalate toward cluster admin. Fixed by canonicalizing the urlPath, validating the path component alone, and executing the exact validated canonical path; the follow-up anchors the namespace clamp to the fixed path position so a positional decoy cannot satisfy it either (on this branch as 1add98850a and aeaad94044).
GHSA-4pqm-wqq6-h9q2github.com/kyverno/kyvernoCriticalCode changekyverno, background-controller, reports-controller, cleanup-controllerNamespaced CEL policy helpers (resource.get, resource.list, and resource.post) passed their resource, group, and version arguments to the Kubernetes dynamic client, which builds the request path by joining segments. The client validates the namespace and object name but not these arguments, so a ‘..’ or an embedded slash in the resource argument could redirect a request to another namespace or to a cluster-scoped path. Because this line ships namespaced CEL policies, a policy author confined to one namespace could reach objects in other namespaces or at cluster scope, served with the Kyverno controller’s permissions. Fixed by validating every path segment derived from a policy argument and rejecting empty, ‘.’, ‘..’, and slash- or backslash-injected segments before any request is issued. Commit 4714dff8b4b63b231c6c99491a1917c385de489b on release-1.18-n4k.
GHSA-5qq8-67g6-4h2wgithub.com/kyverno/kyvernoCriticalCode changekyverno, background-controller, reports-controller, cleanup-controllerA namespaced Policy’s apiCall urlPath was clamped to the policy’s own namespace by normalising the path before comparing it, but the normalisation did not decode percent-encoded characters. Encoded dot-segments therefore survived normalisation and escaped the clamp, letting a namespace tenant read resources in other namespaces and create cluster-scoped objects as the admission controller’s ServiceAccount. The fix decodes the path once before normalising it, so validation sees the same path the API server would. Cluster-scoped policies are unaffected. Commit 74e022737.
GHSA-p58h-r4j3-h5vxgithub.com/kyverno/kyvernoCriticalCode changekyverno, cleanup-controllerThe cleanup controller built its context loader without the policy’s own scope, so a namespaced CleanupPolicy’s context entries were treated as cluster scoped and were not confined to the policy’s namespace. The fix passes the real policy to the context loader factory, so a namespaced CleanupPolicy resolves apiCall and configMap context only within its own namespace, and rejects global references at both admission and runtime. Enterprise commits a873f7fa22 and 2516b33c57 on this branch.
GHSA-rcxg-3f92-3mgrgithub.com/kyverno/kyvernoCriticalCode changekyverno, cleanup-controllerA namespaced CleanupPolicy could issue apiCall context requests to paths outside its own namespace. The fix validates the apiCall path and confines it to the policy’s namespace, rejecting cross-namespace and cluster-scoped requests before they are sent. Cluster-scoped CleanupPolicy behavior is unchanged. Enterprise commits a873f7fa22 and 2516b33c57 on this branch.
GHSA-24cc-9745-hxfcgithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerUnchecked type assertions on remote attestation and OCI manifest JSON panicked on a non-string type field, bypassing image verification and crash-looping the reports controller. Fixed by reading those fields through a checked accessor that returns an error, so malformed remote data fails closed.
GHSA-338x-hgrv-626hgithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerVariable substitution re-scanned already-substituted text, so nested or self-referential values could drive unbounded re-scanning. Fixed by bounding substitution to the author’s own template spans, with alias-hop and total-substitution limits. The substitution mitigation was completed on this line in v1.18.0-n4k.nirmata.7 by two further changes: a per-document output-size cap that also accounts whole-leaf “{ var }” substitutions, and a rewrite that resolves each substitution pass in linear time, closing a worst case where a policy whose substituted output stayed under the size cap could still consume the admission webhook’s time budget.
GHSA-3f2c-hfj8-542wgithub.com/kyverno/kyvernoHighCode changekyverno, reports-controllerNotary attestation statement extraction checked the compressed descriptor and layer size against the 10 MB payload limit but read the decompressed predicate into memory without a bound, so an attacker-supplied referrer artifact that compresses small and expands large could exhaust admission controller memory; fixed by reading layers through a shared helper that decompresses under a bounded decoder and caps the decompressed output at the same limit (on this branch as 17fea2967). The same payload bound was completed in v1.18.0-n4k.nirmata.7: the limit is now configurable behind –imageVerifyPayloadLimit (default unchanged at 10000000 bytes, raise-or-tighten but never disabled), so a legitimately large compressed attestation predicate can be allowed rather than refused outright; size refusals now carry a sentinel error so a refused bundle referrer is logged where an operator sees it; and the referrers index body is bounded to 1 MB before the unmarshal that allocates it, closing a path where a 34 MB index allocated roughly 400 MB while being rejected.
GHSA-59v6-2x73-wfg4github.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerA policy scoped to a single namespace could read the full contents of a cluster-scoped GlobalContextEntry, including data cached from namespaces the policy’s tenant has no permission to read. This affected both the CEL globalContext library in namespaced policy types and the legacy globalReference context entry, neither of which was confined to the policy’s namespace the way the sibling resource, http and configMap lookups already were. The fix rejects both forms in namespaced policies at admission and denies the lookup at evaluation time, leaving cluster-scoped policies unchanged. Commit a990fa489.
GHSA-5cjf-wwfg-pj4cgithub.com/kyverno/kyvernoHighCode changekyvernoThe ImageValidatingPolicy evaluator ignored a PolicyException’s spec.images and spec.allowedValues fields. Any exception whose policyRefs and matchConditions matched a resource skipped image signature verification for the entire resource rather than only for the images or values it listed, so an exception intended to exempt one trusted image exempted every image on that resource. ValidatingPolicy, GeneratingPolicy and MutatingPolicy already treated the same fields as a partial exemption. The fix skips evaluation only for a true full exemption, leaving partial exceptions to be evaluated normally. Commit 4e35a07a2.
GHSA-8mrj-27wr-599ggithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerThe wildcard glob matcher used a recursive algorithm whose running time could grow exponentially with pattern length, so a crafted policy or resource string could stall policy evaluation. Fixed by replacing it with a linear two-pointer matcher bounded by a per-call work budget, plus length caps on wildcard fields at policy admission.
GHSA-c5qq-7g2q-cpqpgithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerA namespaced Policy’s apiCall urlPath was clamped to the policy’s own namespace by normalising the path before comparing it, but the normalisation did not decode percent-encoded characters. Encoded dot-segments therefore survived normalisation and escaped the clamp, letting a namespace tenant read resources in other namespaces and create cluster-scoped objects as the admission controller’s ServiceAccount. The fix decodes the path once before normalising it, so validation sees the same path the API server would. Cluster-scoped policies are unaffected. Commit 74e022737.
GHSA-fcfr-fr8g-qjqvgithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerA cosign signing certificate with no subject alternative name caused the configured subject and subjectRegExp identity check to be skipped rather than failing, so a certificate carrying no identity satisfied a policy that pinned one. Fixed by failing closed when a subject constraint is configured and the certificate has no subject alternative name.
GHSA-fr24-3hvf-393qgithub.com/kyverno/kyvernoHighCode changekyverno, reports-controllerNotary signature blob fetching applied the same compressed-only size check and buffered the decompressed signature layer without a bound, giving the same memory-exhaustion path during image verification; fixed by the same bounded-decoder helper, which also covers the equivalent cosign bundle read, and by rejecting a signature manifest that declares no layers instead of indexing it and panicking (on this branch as 17fea2967). The same payload bound was completed in v1.18.0-n4k.nirmata.7: the limit is now configurable behind –imageVerifyPayloadLimit (default unchanged at 10000000 bytes, raise-or-tighten but never disabled), so a legitimately large compressed attestation predicate can be allowed rather than refused outright; size refusals now carry a sentinel error so a refused bundle referrer is logged where an operator sees it; and the referrers index body is bounded to 1 MB before the unmarshal that allocates it, closing a path where a 34 MB index allocated roughly 400 MB while being rejected.
GHSA-h3pm-q9ww-f439github.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerThe validating webhook trusted the verify-images annotation written by the mutating webhook, so a request that set the annotation directly, or replayed it on UPDATE, was admitted without verification. Fixed by having the validating handler re-verify independently; the annotation is now informational only and is no longer read as a verdict.
GHSA-pcx2-xcq4-65vfgithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerThe same validate/execute divergence in a namespaced Policy apiCall urlPath let a query- or fragment-hidden decoy namespace segment pass the namespace clamp while the request read resources in a different namespace as the Kyverno ServiceAccount. Fixed by the same canonicalize-then-validate-the-path-only change and the anchored namespace clamp (on this branch as 1add98850a and aeaad94044).
GHSA-qc9c-3fgf-cgq8github.com/kyverno/kyvernoHighCode changekyvernoThe admission-policy generator folded PolicyExceptions into generated ValidatingAdmissionPolicy and MutatingAdmissionPolicy resources without applying the gates runtime enforcement uses, so an exception the engine would reject still took effect in the generated native policy. The generator now applies the –enablePolicyException flag, –exceptionNamespace scoping, and policyRefs kind matching, delegating to the same helpers the CEL engines call. That initial fix left a same-class sink open, closed in v1.18.0-n4k.nirmata.7: the generator rendered an exception’s spec.images and spec.allowedValues into the generated policy’s CEL variable expressions by string concatenation, so a value containing a single quote escaped the string literal and became expression code — a crafted entry widened the allowed-image list to whatever image was under review. Both lists are now encoded as CEL literals instead of built as expression text (PR #1289).
GHSA-r2p2-3892-5jjfgithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerAn unchecked type assertion in the In and NotIn operators could panic on a non-string key element. Fixed by routing In-family comparison through a shared element primitive that handles non-string elements safely.
GHSA-x4xq-p8g4-6fwggithub.com/kyverno/kyvernoHighCode changekyverno, background-controller, reports-controller, cleanup-controllerAn unchecked type assertion to string on a substituted or admission-supplied value could panic the engine or the policy-validation webhook. Fixed by guarding those assertions and degrading to an explicit error or a stringified fallback.
GO-2026-6354golang.org/x/cryptoHighBump module versionkubectl-kyvernov0.55.0 → v0.56.0
GO-2026-6355golang.org/x/cryptoHighBump module versionkubectl-kyvernov0.55.0 → v0.56.0
GHSA-m8p2-qqmx-j53xgithub.com/kyverno/kyvernoMediumCode changekyverno, background-controller, reports-controller, cleanup-controllerCEL policy expressions were compiled without an effective cost limit, so the work one expression could do was unbounded and a policy author could exhaust a shared controller. Enabling cel-go’s cost limit alone does not help, because cel-go prices O(n) operations by resolved overload ID and Kyverno declares its resource variables as dyn, so every such call is billed a flat 1 unit. Fixed by pricing calls by function name, refusing operations whose predicted output exceeds a size cap before they run, and metering the total cost of one request, all delivered as environment-level program options so every policy family and the legacy kyverno.io/v1 CEL path inherit them. That initial fix left three same-class vectors open, closed in v1.18.0-n4k.nirmata.7: lists.range allocated its whole result in one step before the post-hoc charge could bound it, now refused pre-execution by an element-count guard; a constant-pattern findAll bypassed its target-size guard because the apiserver’s regex optimizer rebuilt the call node after the guard wrapped it, now shadowed so the guarded node is kept; and size() on a large string was exempt from pricing despite its O(n) scan, now charged for the scan (PR #1239).

Features

  • Ship kyverno-notation-aws as a licensed subchart (#1061)

Fixes

  • Deny globalContext in namespaced policies (CVE-2026-100703) (#1066)
  • Scope IVPol PolicyException to listed images and values (CVE-2026-100704) (#1070)
  • Decode percent-encoded apiCall urlPath before namespace validation (CVE-2026-100706, CVE-2026-100707) (#1075)
  • Resolve the notation-aws dependency from the published index (#1081)
  • Clamp context entries to a namespaced CleanupPolicy’s namespace (#1086)
  • Apply runtime PolicyException gates in the admission-policy generator (#1023)
  • Repair all pre-existing CI failures on release-1.18-n4k (#1102)
  • Harden image verification trust boundaries (#1033)
  • Canonicalize apiCall urlPath and clamp on the path only (CVE-2026-100706, CVE-2026-100707) (#1099)
  • Wait for CRDs to be established before reading discovery (#1108)
  • Prefetch image data one image at a time (#1132)
  • Add the nirmata chart repo before dependency build (#1133)
  • Bound memory when reading OCI layers (#1153)
  • Harden the egress blocklist and anchor the namespace clamp (#1169)
  • Bound the image config blob read (#1172)
  • Bound the cost of CEL policy expression evaluation (#1182)
  • Harden the image verification cache key and the deprecated attestor shorthands (#1191)
  • Cap whole-leaf substitution output too (#1200)
  • Bound the whole update request when generating resources (#1203)
  • Detect the cosign bundle format from the referrers index (#1207)
  • Re-verify images in the ivpol validating webhook (#1212)
  • Decide the cosign bundle format from bounded bundle bytes (#1215)
  • Verify cosign bundles from the bounded referrer read (#1219)
  • Key mutate-existing UpdateRequests by namespace/name (#1232)
  • Deny globalReference in a namespaced CleanupPolicy (#1237)
  • Resolve each substitution pass in linear time (#1250)
  • Encode exception image and value lists as CEL literals, not expression text (#1289)
  • Bump etcd and kubectl images to CVE-clean DHI builds (#918)

Additional changes

  • Update Chart.yaml
  • Harden wildcard matching and variable substitution (#1039)
  • Revert “fix(imageverify): prefetch image data one image at a time (#1132)” (#1136)
  • Fix *NotIn null semantics and cap substitution output (#1146)
  • [security][1.18] CEL resource path segment validation (#1226)
  • [security][1.19.2] CEL cost model: bound lists.range, restore the findAll guard, charge size(), count split pieces (1.18) (#1239)
  • [security][1.18] Configurable verification payload limit; bound the referrers index; Authorization opt-out (#1267)

v1.18.0-n4k.nirmata.6 — September 5, 2026

CVEComponentSeverityFix typeImage(s) affectedNotes
GHSA-qr4g-8hrp-c4rw, GHSA-459x-q9hg-4gpqKyverno engine (context.apiCall.service)HighCode changekyverno, background-controller, cleanup-controller, reports-controllerTwo-phase SSRF guard on context.apiCall.service (pre-flight and dial-time checks, closing the DNS-rebinding window); new --apiCallBlocklist/--apiCallAllowlist flags
GHSA-5cgq-3rg8-m6cvgolang.org/x/cryptoCriticalLibrary bumpall imagesx/crypto 0.50.0 → 0.55.0
GHSA-89gr-r52h-f8rxgolang.org/x/cryptoCriticalLibrary bumpall imagesx/crypto 0.50.0 → 0.55.0
GHSA-f5wc-c3c7-36mcgolang.org/x/cryptoCriticalLibrary bumpall imagesx/crypto 0.50.0 → 0.55.0
GHSA-rm3j-f69w-wqmqgolang.org/x/cryptoCriticalLibrary bumpall imagesx/crypto 0.50.0 → 0.55.0
GHSA-vgwf-h737-ff37golang.org/x/cryptoCriticalLibrary bumpall imagesx/crypto 0.50.0 → 0.55.0
CVE-2026-39828golang.org/x/cryptoHighLibrary bumpall imagesx/crypto 0.50.0 → 0.55.0
CVE-2026-45022github.com/go-git/go-git/v5HighLibrary bumpall imagesgo-git/v5 5.18.0 → 5.19.2
CVE-2026-44973github.com/go-git/go-billy/v5HighLibrary bumpall imagesgo-billy/v5 5.8.0 → 5.9.1
CVE-2026-49478github.com/sigstore/fulcioHighLibrary bumpall imagesfulcio 1.8.5 → 1.8.8
CVE-2026-48702github.com/sigstore/rekorHighLibrary bumpall imagesrekor 1.5.1 → 1.5.4
CVE-2026-56864golang.org/x/modHighLibrary bumpall imagesx/mod 0.35.0 → 0.40.0
CVE-2026-25681golang.org/x/netHighLibrary bumpall imagesx/net 0.53.0 → 0.58.0
CVE-2026-56852golang.org/x/textHighLibrary bumpall imagesx/text 0.36.0 → 0.41.0
CVE-2026-27145Go standard libraryHighLibrary bumpall imagesGo toolchain 1.26.3 → 1.26.7

Beyond the rows above, the remaining scanner findings in this batch were cleared by the same module and toolchain bumps: the Go toolchain (1.26.3 → 1.26.7), golang.org/x/crypto (0.50.0 → 0.55.0), go-git, fulcio, rekor, golang.org/x/mod, google.golang.org/grpc (1.80.0 → 1.83.2), and oras.land/oras-go/v2 (2.6.0 → 2.6.2). All findings were Go standard library or Go module issues; the Wolfi runtime base image was not affected.

Fixes

  • Stopped a reports-server watcher leak that caused an out-of-memory cascade.
  • Inferred a Namespaced webhook scope for namespace-constrained wildcard policies, and backported the related namespaced-policy fixes.
  • Handled missing reports CRDs as a no-op in kyverno-init so initialization no longer fails when the reports CRDs are absent.
  • Granted watch on deleting policies to the licensing informers so the live policy counter stays in sync.
  • Pointed the webhooks-cleanup readiness checker at the Nirmata image.

Additional changes

  • Added the --apiCallBlocklist and --apiCallAllowlist flags (settable through Helm values) to control which destinations context.apiCall.service may reach; these are separate from the CEL --httpBlocklist/--httpAllowlist flags, so in-cluster ClusterIP calls keep working by default.
  • Extended conformance coverage to Kubernetes 1.36 and 1.37.
  • Fixed the FIPS image builds: stopped shipping the whole build context, bumped the kubectl-kyverno FIPS builder to Go 1.26.7, and mounted the private-module secret in the kubectl-kyverno FIPS build.

v1.18.0-n4k.nirmata.2 — August 17, 2026

Licensing

  • Added a free community tier so open-source use runs without a commercial license.
  • Enforced commercial licensing for policy capacity and commercial features.
  • Set the license evaluation interval to 15 minutes.
  • Included licensing fixes for enterprise deployments.
CVEComponentSeverityFix typeImage(s) affectedNotes
CVE-2026-32952github.com/Azure/go-ntlmsspMediumLibrary bumpall imagesBumped to v0.1.1; malformed NTLM challenge payloads could trigger a panic. Also tracked as GHSA-pjcq-xvwq-hhpj.

Additional changes

  • Base image: bumped Go to 1.26.3 across the FIPS Dockerfiles and toolchain to pick up the latest runtime security fixes.