Unintended Proxy or Intermediary ('Confused Deputy') Affecting github.com/kyverno/kyverno/pkg/background/mpol package, versions <1.17.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.29% (21st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMKYVERNOKYVERNOPKGBACKGROUNDMPOL-16069018
  • published15 Apr 2026
  • disclosed14 Apr 2026
  • creditOleh Konko

Introduced: 14 Apr 2026

CVE-2026-40868  (opens in a new tab)
CWE-441  (opens in a new tab)

How to fix?

Upgrade github.com/kyverno/kyverno/pkg/background/mpol to version 1.17.0 or higher.

Overview

Affected versions of this package are vulnerable to Unintended Proxy or Intermediary ('Confused Deputy') via the apiCall servicecall helper. An attacker can obtain sensitive service account tokens by crafting a policy that triggers an outbound request without an explicit Authorization header, causing the token to be injected and sent to an attacker-controlled endpoint. This is only exploitable if the attacker can create or update a ClusterPolicy or GlobalContextEntry that controls the request URL and headers.

Workaround

This vulnerability can be mitigated by setting an explicit Authorization header in servicecall policies or avoiding the use of servicecall to arbitrary URLs in policies.

CVSS Base Scores

version 4.0
version 3.1