7.7high
Fission: Cross-namespace Package read via unvalidated PackageRef in Function admission webhook
- Severity
- 7.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-3r8v-2xmj-5c39GO-2026-5846
Description
Fission is an open-source, Kubernetes-native serverless framework that simplifies the deployment of functions and applications on Kubernetes. Prior to version 1.24.0, a Fission Function spec carries three reference types — Secret, ConfigMap, and Package. The first two were namespace-validated by the admission webhook; PackageRef.Namespace was not. This issue has been patched in version 1.24.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fission fission | < 1.24.0 | CVE List |
| github.com/fission/fission (Go) | before 1.24.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 7.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N |
Classification
What each source says
CVE List
Fission is an open-source, Kubernetes-native serverless framework that simplifies the deployment of functions and applications on Kubernetes. Prior to version 1.24.0, a Fission Function spec carries three reference types — Secret, ConfigMap, and Package. The first two were namespace-validated by the admission webhook; PackageRef.Namespace was not. This issue has been patched in version 1.24.0.
GitHub Advisory Database
Summary
A Fission Function spec carries three reference types — Secret, ConfigMap, and Package. The first two were namespace-validated by the admission webhook; PackageRef.Namespace was not.
Details
A tenant with functions.fission.io/create in their own namespace could set spec.package.packageref.namespace to any other namespace. When the function is invoked, the fetcher sidecar reads the victim Package using the
fission-fetcher service account's namespace-wide get packages permission and writes its contents to /userfunc/deployarchive inside the attacker's pool pod, exposing the victim's source code and any embedded credentials.
The fission-fetcher SA holds get packages in every configured function namespace (granted by charts/fission-all/templates/_function-access-role.tpl), so the namespace check was the only barrier between the attacker and any
in-cluster Fission Package.
Impact
A function author in one namespace could read the deployment archive — and therefore the source code and embedded secrets — of any Package in any other namespace.
Fix
Fixed in #3389 and released in v1.24.0.
The admission webhook (pkg/webhook/function.go::Validate) rejects Function.spec.package.packageref.namespace != metadata.namespace. An empty namespace remains accepted (controllers default it to the function's namespace). This
shipped together with the EnvironmentRef cross-namespace check (GHSA-cvw6-gfvv-953q).
Behavioural change
Functions that explicitly set spec.package.packageref.namespace to a different namespace are now rejected at admission.
Go Vulnerability Database
Fission: Cross-namespace Package read via unvalidated PackageRef in Function admission webhook in github.com/fission/fission
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-49823 changed 2026-06-10 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-3r8v-2xmj-5c39 changed 2026-07-07 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5846 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2026-49823 changed 2026-06-17 | Public domain |