CVE-2026-40868 in Kyverno
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....
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Kyverno | Kyverno | < 1.16.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-40868 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-272016-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Published | 2026-04-21 |
| Last modified | 2026-11-11 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-922: CWE-922
Analysis AI-written, not human-reviewed
Kyverno versions prior to 1.16.4 are vulnerable to unauthorized API calls due to the implicit injection of the Kyverno service account token when the Authorization header is not explicitly set in policies. This can lead to potential unauthorized access to resources.
An attacker with the ability to create or modify policies in Kyverno can craft a policy that sends the Kyverno service account token to an arbitrary URL, potentially leading to unauthorized access or actions on behalf of the Kyverno service account.
Questions
What is CVE-2026-40868?
Kyverno versions prior to 1.16.4 are vulnerable to unauthorized API calls due to the implicit injection of the Kyverno service account token when the Authorization header is not explicitly set in policies. This can lead to potential unauthorized access to resources.
What is the CVSS score for CVE-2026-40868?
CVE-2026-40868 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N. EPSS: 0.4%.
Is CVE-2026-40868 actively exploited?
No confirmed active exploitation of CVE-2026-40868 as of 2026-11-12.
How do I remediate CVE-2026-40868?
Priority: HIGH.
What systems are affected by CVE-2026-40868?
CVE-2026-40868 affects Kyverno Kyverno.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Kyverno","product":"Kyverno","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.