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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-q93q-v844-jrqp | kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 22 Apr 2026 03:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Kyverno
Kyverno kyverno |
|
| Vendors & Products |
Kyverno
Kyverno kyverno |
Wed, 22 Apr 2026 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token | |
| Weaknesses | CWE-922 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-04-21T18:22:01.502Z
Reserved: 2026-04-15T15:57:41.718Z
Link: CVE-2026-40868
No data.
Status : Received
Published: 2026-04-21T19:16:18.420
Modified: 2026-04-21T19:16:18.420
Link: CVE-2026-40868
No data.
OpenCVE Enrichment
Updated: 2026-04-22T03:30:06Z
Weaknesses
Github GHSA