{"id":"CVE-2026-40868","published":"2026-04-21T18:22:01Z","modified":"2026-04-22T13:35:50Z","title":"kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token","vendor":"kyverno","product":"kyverno","tier":"tail","description":{"text":"Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to 1.16.4, kyverno’s apiCall servicecall helper implicitly injects Authorization: Bearer ... using the kyverno controller serviceaccount token when a policy does not explicitly set an Authorization header. Because context.apiCall.service.url is policy-controlled, this can send the kyverno serviceaccount token to an attacker-controlled endpoint (confused deputy). Namespaced policies are blocked from servicecall usage by the namespaced urlPath gate in pkg/engine/apicall/apiCall.go, so this report is scoped to ClusterPolicy and global context usage. This vulnerability is fixed in 1.16.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0043,"percentile":0.28955,"provenance":"source"},"cwes":[{"id":"CWE-922","name":"Insecure Storage of Sensitive Information"}],"references":[{"url":"https://github.com/kyverno/kyverno/security/advisories/GHSA-q93q-v844-jrqp","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":5.79},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"kyverno","affectedVersions":[{"vendor":"kyverno","product":"kyverno","versions":["< 1.16.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-22T13:34:55.762312Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/kyverno/kyverno","vulnerableRanges":["<1.17.0"],"patched":["1.17.0"],"from":["GHSA-q93q-v844-jrqp","GO-2026-5575"],"provenance":"source"}],"summary":{"text":"Kyverno's apiCall servicecall helper, in versions before 1.16.4, automatically attaches the Kyverno controller's service account token as a Bearer Authorization header whenever a policy does not set its own Authorization header. An attacker who can author a ClusterPolicy or use global context, where the service URL is policy-controlled, can direct that token to an endpoint they control, which requires low-privilege authenticated access to create or modify such policies and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:29Z"},"euvd":{"id":"EUVD-2026-24237","exploited":false,"provenance":"source"}}