Execution with Unnecessary Privileges Affecting github.com/fission/fission/pkg/executor/executortype/newdeploy package, versions <1.23.0-rc1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (28th 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-GITHUBCOMFISSIONFISSIONPKGEXECUTOREXECUTORTYPENEWDEPLOY-17420052
  • published23 Jun 2026
  • disclosed10 Jun 2026
  • creditFORIMOC, Yuremin

Introduced: 10 Jun 2026

CVE-2026-46617  (opens in a new tab)
CWE-250  (opens in a new tab)

How to fix?

Upgrade github.com/fission/fission/pkg/executor/executortype/newdeploy to version 1.23.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Execution with Unnecessary Privileges via the genDeploymentSpec and genDeploymentSpec pod construction paths in the newdeploy and generic pool components. An attacker can obtain the fission-fetcher service account token from the user-code container by supplying an environment PodSpec or patch that leaves the pod’s service account auto-mount enabled or adds a fetcher container mount at /var/run/secrets/kubernetes.io/serviceaccount. The affected function pods run with the fission-fetcher service account, so the injected token gives user code access to Kubernetes API credentials intended for the fetcher sidecar. In deployments that accept user-controlled pod spec overrides, this lets an attacker read cluster resources reachable by that service account and break isolation between the fetcher sidecar and the function container.

Workarounds

  • Restrict who can create or update Function and Package CRDs in your cluster; treat the ability to ship function code as equivalent to namespace-wide secret read, which limits who can exploit the leaked service-account token.
  • Reduce the fission-fetcher Role / ClusterRole scope where possible, for example by constraining it to specific named secrets via separate RoleBindings, which limits what the exposed token can read.
  • Add NetworkPolicy egress rules that deny function pods access to the Kubernetes API server, which blunts the token even if it leaks into the user container.

CVSS Base Scores

version 4.0
version 3.1