GHSA-wmgg-3p4h-48x7

Suggest an improvement
Source
https://github.com/advisories/GHSA-wmgg-3p4h-48x7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-wmgg-3p4h-48x7/GHSA-wmgg-3p4h-48x7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wmgg-3p4h-48x7
Aliases
  • CVE-2026-50545
Published
2026-06-30T18:18:05Z
Modified
2026-06-30T18:30:08.082025058Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Fission Environment CRD PodSpec Injection Leading to Node Escape and Cluster Takeover
Details

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 (with the companion buildermgr SA-token fix in #3390) and released in v1.24.0. Each enumerated flaw is addressed:

  1. ValidateValidatePodSpecSafety 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.

Database specific
{
    "nvd_published_at": "2026-06-10T18:17:12Z",
    "severity": "CRITICAL",
    "cwe_ids": [
        "CWE-269",
        "CWE-284",
        "CWE-693"
    ],
    "github_reviewed_at": "2026-06-30T18:18:05Z",
    "github_reviewed": true
}
References

Affected packages

Go / github.com/fission/fission

Package

Name
github.com/fission/fission
View open source insights on deps.dev
Purl
pkg:golang/github.com/fission/fission

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.24.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-wmgg-3p4h-48x7/GHSA-wmgg-3p4h-48x7.json"
last_known_affected_version_range
"<= 1.23.0"