# CVE-2026-40868: kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-14T20:09:00.000Z
- Modified: 2026-11-11T23:10:00.263Z
- Also known as: GHSA-q93q-v844-jrqp, BIT-KYVERNO-2026-40868, GO-2026-5575
- Weaknesses: CWE-441, CWE-922
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- kyverno kyverno: < 1.16.4; before 1.16.4
- github.com/kyverno/kyverno (Go): before 1.17.0
- kyverno (Bitnami): before 1.16.4

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/kyverno/kyverno/security/advisories/GHSA-q93q-v844-jrqp> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40868> (advisory, web)
- <https://github.com/kyverno/kyverno> (package)

## Sources

- CVE List: [CVE-2026-40868](https://www.cve.org/CVERecord?id=CVE-2026-40868), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-q93q-v844-jrqp](https://github.com/advisories/GHSA-q93q-v844-jrqp), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5575](https://pkg.go.dev/vuln/GO-2026-5575), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-40868](https://nvd.nist.gov/vuln/detail/CVE-2026-40868), Public domain, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-KYVERNO-2026-40868](https://osv.dev/vulnerability/BIT-KYVERNO-2026-40868), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-40868 · Whole record: https://cve.day/CVE-2026-40868.json · Rebuilt by cve.day 2026-11-25T22:59:19.132Z
