Skip to content
OpenAdvisories
High · 8.1 CVE-2026-40868 BIT-kyverno-2026-40868EUVD-2026-24237GHSA-q93q-v844-jrqpGO-2026-5575

kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token

Published Apr 21, 2026 · Updated Apr 22, 2026 · 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.

Affected products

VendorProductAffectedFixed
kyverno kyverno < 1.16.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kyverno-notation-aws 1.1-r49 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/kyverno/kyverno < 1.17.0 1.17.0 GHSA-q93q-v844-jrqp

Advisories 2

References