Vulnerability · Published Apr 21, 2026 · Assigned by GitHub_M
CVE-2026-40868kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token
High 8.1
In plain English
A high-severity security flaw in kyverno from kyverno. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/kyverno/kyverno | 1.17.0 | GHSA-q93q-v844-jrqp |
| Go | github.com/kyverno/kyverno | 1.17.0 | GO-2026-5575 |
Affected products (as reported)
Weakness: CWE-922 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/kyverno/kyverno/security/advisories/GHSA-q93q-v844-jrqp x_refsource_CONFIRM