CVE-2026-40868

Source
https://cve.org/CVERecord?id=CVE-2026-40868
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40868.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-40868
Aliases
Downstream
Related
Published
2026-04-21T18:22:01.502Z
Modified
2026-05-28T03:53:44.881597189Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
kyverno apicall servicecall implicit bearer token injection leaks kyverno serviceaccount token
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40868.json",
    "cwe_ids": [
        "CWE-922"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/kyverno/kyverno

Affected ranges

Type
GIT
Repo
https://github.com/kyverno/kyverno
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*
1.3.0-rc10
1.6-dev
1.7-dev
1.8-dev
1.9-dev
helm-chart-v2.*
helm-chart-v2.0.3
helm-chart-v2.0.3-rc1
helm-chart-v2.0.3-rc2
helm-chart-v2.1.0
helm-chart-v2.1.3
kyverno-chart-3.*
kyverno-chart-3.6.0
kyverno-chart-3.6.0-rc.1
kyverno-chart-3.6.0-rc.2
kyverno-chart-3.6.1
kyverno-chart-3.6.1-rc.1
kyverno-chart-3.6.1-rc.2
kyverno-chart-3.6.2
kyverno-chart-3.6.2-rc.1
kyverno-chart-3.6.3
kyverno-chart-3.6.3-rc.1
kyverno-chart-3.6.4-rc.1
kyverno-policies-chart-3.*
kyverno-policies-chart-3.6.0
kyverno-policies-chart-3.6.0-rc.1
kyverno-policies-chart-3.6.0-rc.2
kyverno-policies-chart-3.6.1
kyverno-policies-chart-3.6.1-rc.1
kyverno-policies-chart-3.6.1-rc.2
kyverno-policies-chart-3.6.2
kyverno-policies-chart-3.6.2-rc.1
kyverno-policies-chart-3.6.3
kyverno-policies-chart-3.6.3-rc.1
kyverno-policies-chart-3.6.4-rc.1
Other
test-dev
v0.*
v0.1.0
v0.10.0
v0.11.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.7.0
v0.7.1
v0.8.0
v0.9.0
v0.9.1
v1.*
v1.0.0
v1.0.0-rc1
v1.1.1
v1.1.10
v1.1.11
v1.1.12
v1.1.2
v1.1.3
v1.1.3-rc1
v1.1.4
v1.1.4-rc1
v1.1.5
v1.1.6
v1.1.6-rc1
v1.1.6-rc2
v1.1.6-rc3
v1.1.6-rc4
v1.1.6-rc5
v1.1.7
v1.1.7-rc1
v1.1.7-rc2
v1.1.7-rc3
v1.1.7-rc4
v1.1.8
v1.1.9
v1.16.0
v1.16.0-rc.1
v1.16.0-rc.2
v1.16.1
v1.16.1-rc.1
v1.16.1-rc.2
v1.16.2
v1.16.2-rc.1
v1.16.3
v1.16.3-rc.1
v1.16.4-rc.1
v1.2.0
v1.2.1
v1.3.0
v1.3.0-rc1
v1.3.0-rc10
v1.3.0-rc11
v1.3.0-rc12
v1.3.0-rc2
v1.3.0-rc3
v1.3.0-rc4
v1.3.0-rc5
v1.3.0-rc6
v1.3.0-rc7
v1.3.0-rc8
v1.3.0-rc9
v1.3.1
v1.3.2
v1.3.2-rc1
v1.3.2-rc2
v1.3.2-rc3
v1.3.3
v1.3.4
v1.3.4-rc1
v1.3.5
v1.3.5-rc1
v1.3.5-rc2
v1.3.5-rc3
v1.3.5-rc4
v1.3.5-rc5
v1.3.6
v1.3.6-rc1
v1.3.6-rc2
v1.3.6-rc3
v1.3.6-rc4
v1.3.6-rc5
v1.4.0
v1.4.0-rc1
v1.4.0-rc2
v1.4.0-rc3
v1.4.0-rc4
v1.4.1
v1.4.2
v1.4.2-rc1
v1.4.2-rc2
v1.4.2-rc3
v1.4.2-rc4
v1.4.3
v1.4.3-rc1
v1.4.3-rc2
v1.5.0-rc1

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-40868.json"