Loading...
Skip to main content

CVE-2026-50545 — Vulnerability in github.com/fission/fission — CVE...

CRITICAL

Fission Environment CRD PodSpec Injection Leading to Node Escape and Cluster Takeover

Published June 30, 2026Updated July 7, 2026Source: osv

Summary

### 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.** `pkg/apis/core/v1/validation.go::Environment.Validate` checked only container naming conventions, never `hostPID`/`hostIPC`/`hostNetwork`/`hostPath`/`privileged`. 2. **UPDATE bypass.** The `pkg/webhook/environment.go` kubebuilder marker registered `verbs=create` only. A tenant could `kubectl apply` a clean Environment and then `kubectl patch` in the dangerous fields — the webhook was never called. 3. **Merge propagation.** `pkg/executor/util/merge.go::MergePodSpec` unconditionally forwarded `HostPID`, `HostIPC`, `HostNetwork`, `Volumes` (including hostPath), `SecurityContext`, and `ServiceAccountName` into 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](https://github.com/fission/fission/pull/3391) (with the companion buildermgr SA-token fix in [#3390](https://github.com/fission/fission/pull/3390)) and released in [v1.24.0](https://github.com/fission/fission/releases/tag/v1.24.0). Each enumerated flaw is addressed: 1. **Validate** — `ValidatePodSpecSafety` is called from `Environment.Validate` for both `Runtime.PodSpec` and `Builder.PodSpec`. 2. **UPDATE bypass** — the webhook marker is extended to `verbs=create;update`; chart and envtest manifests are aligned. 3. **Merge propagation** — host namespaces, `ServiceAccountName`, and hostPath volumes are stripped at the merge layer; per-container `privileged`/`allowPrivilegeEscalation` and 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.

Advisory Timeline

  • First published June 30, 2026 (104 days ago).
  • Last revised July 7, 2026 — 7 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/fission/fission to 1.24.0 or later
go get github.com/fission/fission@v1.24.0

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: go (1).

PackageEcosystemAffectedFixed In
github.com/fission/fission
go
All versions1.24.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-50545?
Fission Environment CRD PodSpec Injection Leading to Node Escape and Cluster Takeover This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2026-50545?
CVE-2026-50545 affects github.com/fission/fission. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-50545 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-wmgg-3p4h-48x7
GO-2026-5860

Related CVEs

  • CVE-2026-46614
    CRITICAL

    Fission router exposes /fission-function/<ns>/<name> on its public listener, allowing invocation of any function without an HTTPTrigger

  • CVE-2026-50564
    CRITICAL

    Fission Environment CRD podspec passthrough enables hostPID/hostNetwork/privileged pods, node escape

  • CVE-2026-50566
    CRITICAL

    Fission: Environment Runtime.Container and Builder.Container SecurityContext bypass allows privileged pod creation

  • CVE-2026-107806
    CRITICAL

    Nginx UI: Authenticated Remote Code Execution via Backup Restore App Config Overwrite

  • CVE-2026-50563
    CRITICAL

    Fission Container Executor Function PodSpec Injection Leading to Node Escape

  • CVE-2026-46612
    HIGH

    Fission StorageSvc /v1/archive endpoint exposes unauthenticated CRUD over all function archives

  • CVE-2026-49824
    HIGH

    Fission: Cross-namespace Environment reference via unvalidated EnvironmentRef in Function admission webhook

  • CVE-2026-50570
    HIGH

    Fission: Incomplete capability denylist in Environment/Function PodSpec validation allows tenant-added CAP_SYS_TIME and cross-tenant node wall-clock corruption

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies