Kyverno
Kyverno: ServiceAccount token leaked to external servers via apiCall service URL
Kyverno is a policy engine designed for cloud native platform engineering teams. Prior to versions 1.18.0-rc1, 1.17.2-rc1, and 1.16.4, Kyverno's apiCall feature in ClusterPolicy automatically attaches the admission controller's ServiceAccount token to outgoing HTTP requests. The service URL has no validation — it can point anywhere, including attacker-controlled servers. Since the admission controller SA has permissions to patch webhook configurations, a stolen token leads to full cluster compromise. Versions 1.18.0-rc1, 1.17.2-rc1, and 1.16.4 patch the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.16.4
- >= 1.17.0-rc1, < 1.17.2-rc1
Fixed in 1.16.4, 1.17.2-rc1
Mitigation
Upgrade kyverno to 1.16.4 or 1.17.2-rc1 or later.
References
- Vendor advisory github.com/kyverno/kyverno/security/advisories…
- Patch github.com/kyverno/kyverno/commit/bc4f91c4801b…
- Patch github.com/kyverno/kyverno/commit/c2eab00033e6…
1 more
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.