CVE-2026-40868 kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| kyverno | < 1.16.4; = < 1.16.4 | 1.16.4 | Fixed |
| kyverno(Go) | < 1.17.0 | 1.17.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kyverno(Go) | < 1.17.0 | 1.17.0 |
| kyverno | = < 1.16.4 | No fix listed |
| kyverno | < 1.16.4 | 1.16.4 |
References
- https://github.com/kyverno/kyverno/security/advisories/GHSA-q93q-v844-jrqp exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com