GitHub Advisoryadvisory · Go

GHSA-gc3j-79f2-7vvw Fission: Cross-namespace event leakage via KubernetesWatchTrigger allows persistent tenant surveillance

HIGH Published 2026-06-30 Modified 2026-06-30 Official page ↗
Aliases
CVE-2026-49822
Ecosystem
Go
Packages
github.com/fission/fission
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-284, CWE-862
Reviewed
2026-06-30

Affected packages

• Go github.com/fission/fission: < 1.24.0 → fixed in 1.24.0

Description

Summary A low-privilege developer who could create a `KubernetesWatchTrigger` (KWT) in their own namespace was able to establish a persistent surveillance channel over any other namespace. Details Two independent flaws compounded: 1. `pkg/kubewatcher/kubewatcher.go::createKubernetesWatch` used `w.Spec.Namespace` (user-controlled) directly as the Watch target without checking it against `w.Namespace` (the KWT's own namespace). `kubewatcher` established the Watch using its cluster-scoped service account and serialized every Pod/Service/Job change event as full JSON over HTTP POST to the attacker's function. 2. The validating webhook (`pkg/webhook/kuberneteswatchtrigger.go`) registered `verbs=create` only, so `update`/`patch` requests bypassed validation entirely. A separate leak: an empty `spec.namespace` resolved to all namespaces via the controller's default, letting an attacker omit the field to surveil the entire cluster. Impact A tenant with `kuberneteswatchtriggers.fission.io/create` could continuously receive full event payloads for Pods, Services, and Jobs in any namespace — a persistent cross-tenant surveillance channel requiring no additional privileges. Fix Fixed in #3379 and released in v1.24.0. • The validating webhook marker is extended to `verbs=create;update`. • `Validate` rejects `KubernetesWatchTrigger.spec.namespace != metadata.namespace`. • A controller guard in `createKubernetesWatch` rejects cross-namespace targets that bypass admission and coerces an empty `Spec.Namespace` to the trigger's own namespace. Behavioural change KubernetesWatchTriggers with an unset `spec.namespace` now watch only their own namespace instead of all namespaces. Anyone relying on the previous all-namespaces behaviour must create a separate KWT per namespace.

Related

Alias · CVE (1)

  • CVE-2026-49822 Fission is an open-source, Kubernetes-native serverless framework that simplifies the deployment of functions and applications on… vulnerability

Weakness · CWE (2)

  • CWE-284 Improper Access Control weakness
  • CWE-862 Missing Authorization weakness

References