CVE-2026-50545: Fission Environment CRD PodSpec Injection Leading to Node Escape and Cluster Takeover
Summary A stronger framing of the same root cause as GHSA-gx55-f84r-v3r7: the Environment.spec.runtime.podSpec / spec.builder.podSpec passthrough lacked validation, and MergePodSpec propagated dangerous fields into the generated pods. Details Three independent flaws compounded: 1. Validate gap.
Published Jun 30, 2026
Affected packages
github.com/fission/fission
- Ecosystem
- Go
- Affected
- <= 1.23.0
- Fixed in
- 1.24.0
- Check
go list -m github.com/fission/fission
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A stronger framing of the same root cause as GHSA-gx55-f84r-v3r7: the Environment.spec.runtime.podSpec / spec.builder.podSpec passthrough lacked validation, and MergePodSpec propagated dangerous fields into the generated pods.
Details
Three independent flaws compounded:
- Validate gap.
pkg/apis/core/v1/validation.go::Environment.Validatechecked only container naming conventions, neverhostPID/hostIPC/hostNetwork/hostPath/privileged. - UPDATE bypass. The
pkg/webhook/environment.gokubebuilder marker registeredverbs=createonly. A tenant couldkubectl applya clean Environment and thenkubectl patchin the dangerous fields — the webhook was never called. - Merge propagation.
pkg/executor/util/merge.go::MergePodSpecunconditionally forwardedHostPID,HostIPC,HostNetwork,Volumes(including hostPath),SecurityContext, andServiceAccountNameinto the Deployments
generated by poolmgr / newdeploy / buildermgr.
A kubectl apply plus a follow-up kubectl patch caused poolmgr to schedule a privileged pod with a host-root mount within roughly 20 seconds. From that pod the cluster CA private key was readable, allowing the attacker to sign arbitrary kubelet certificates and achieve full cluster takeover.
Impact
environments.fission.io create/update RBAC is escalated to node escape and, via the readable cluster CA key, full cluster takeover.
Fix
Fixed in #3391 (with the companion buildermgr SA-token fix in #3390) and released in v1.24.0. Each enumerated flaw is addressed:
- Validate —
ValidatePodSpecSafetyis called fromEnvironment.Validatefor bothRuntime.PodSpecandBuilder.PodSpec. - UPDATE bypass — the webhook marker is extended to
verbs=create;update; chart and envtest manifests are aligned. - Merge propagation — host namespaces,
ServiceAccountName, and hostPath volumes are stripped at the merge layer; per-containerprivileged/allowPrivilegeEscalationand dangerous capabilities are sanitized.
See GHSA-gx55-f84r-v3r7 for the detailed fix — both advisories close to the same commit.
Duplicate handling
This advisory and GHSA-gx55-f84r-v3r7 were reported separately but close to the same code fix. Both are published to acknowledge each reporter's contribution and to keep the public CVE record clear about the multi-layer nature of the issue.
Credited to j311yl0v3u, b0b0haha, sanketsudake.
References
- https://github.com/fission/fission/security/advisories/GHSA-wmgg-3p4h-48x7
- https://nvd.nist.gov/vuln/detail/CVE-2026-50545
- https://github.com/fission/fission/pull/3390
- https://github.com/fission/fission/pull/3391
- https://github.com/fission/fission/commit/8fa799417c77ce8a0189d9858bfe11ece29b84a6
- https://github.com/fission/fission/commit/e484df8460bb4e8026e24210120602aa7f181f64
- https://github.com/fission/fission/releases/tag/v1.24.0
- https://github.com/advisories/GHSA-wmgg-3p4h-48x7
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-50563
Fission Container Executor Function PodSpec Injection Leading to Node Escape
critical9.9Jun 30, 2026CVE-2026-50564
Fission Environment CRD podspec passthrough enables hostPID/hostNetwork/privileged pods, node escape
critical9.9Jun 30, 2026CVE-2026-50566
Fission: Environment Runtime.Container and Builder.Container SecurityContext bypass allows privileged pod creation
critical9.9Jun 30, 2026CVE-2026-46614
Fission router exposes /fission-function/<ns>/<name> on its public listener, allowing invocation of any function without an HTTPTrigger
critical9.8May 21, 2026
