CVE-2026-40868CWE-922

kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token

High · published April 21, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
34.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00414 · 34.6th percentile
Weakness
CWE-922 · Insecure Storage of Sensitive Information
Published
2026-04-21T18:22Z
EPSS history
Timeline
  • 21 APR 18:22Z
    kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token
    cvelistv5