{"id":"CVE-2026-49824","aliases":["CVE-2026-49824","GHSA-cvw6-gfvv-953q","GO-2026-5852"],"related":[],"kind":"vulnerability","state":"published","title":"Fission: Cross-namespace Environment reference via unvalidated EnvironmentRef in Function admission webhook","summary":"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, the Fission Function admission webhook (pkg/webhook/function.go) validated that spec.secrets[].namespace and spec.configmaps[].namespace equalled the function's own namespace but performed no equivalent check on spec.environment.namespace. This issue has been patched in version 1.24.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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, the Fission Function admission webhook (pkg/webhook/function.go) validated that spec.secrets[].namespace and spec.configmaps[].namespace equalled the function's own namespace but performed no equivalent check on spec.environment.namespace. This issue has been patched in version 1.24.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nThe Fission Function admission webhook (`pkg/webhook/function.go`) validated that `spec.secrets[].namespace` and `spec.configmaps[].namespace` equalled the function's own namespace but performed no equivalent check on\n`spec.environment.namespace`.\n\n### Details\n\nAn attacker with permission to create Functions in their own namespace could set `spec.environment.namespace` to any other tenant's namespace. poolmgr and newdeploy would then look up and use the victim's Environment CRD when scheduling\nfunction pods, so the attacker's function executed inside the victim's container image.\n\nThis is useful both for code and credential theft — the victim's runtime image may contain hardcoded secrets — and for confused-deputy attacks where the victim's runtime image is a privileged sidecar.\n\n### Impact\n\nA tenant with `functions.fission.io/create` could run their own function code inside another tenant's container image, breaking the namespace trust boundary that the Function specification implies.\n\n### Fix\n\nFixed in [#3389](https://github.com/fission/fission/pull/3389) and released in [v1.24.0](https://github.com/fission/fission/releases/tag/v1.24.0).\n\n- **Admission webhook** (`pkg/webhook/function.go::Validate`) rejects `Function.spec.environment.namespace != metadata.namespace`. An empty namespace remains accepted (the CLI defaults it to the function's namespace).\n- **Controller belt-and-braces:** the same check runs before the cross-namespace `Environments(...).Get` in poolmgr `getFunctionEnv` and newdeploy `fnCreate` / `RefreshFuncPods`, covering webhook-bypass clusters (`failurePolicy=Ignore`)\nand stale Function objects from upgrade-before-restart windows.\n\n### Behavioural change\n\nFunctions that explicitly set `spec.environment.namespace` to a different namespace are now rejected at admission. Empty-string remains accepted.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Fission: Cross-namespace Environment reference via unvalidated EnvironmentRef in Function admission webhook in github.com/fission/fission","format":"markdown","source":"go"}],"published":"2026-06-10T17:25:51.920Z","modified":"2026-07-07T16:11:06.234Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","score":8.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","score":8.5,"rating":"HIGH"}],"cwes":["CWE-284","CWE-863"],"affected":[{"ranges":[{"version":"< 1.24.0","status":"affected"}],"vendor":"fission","product":"fission","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.24.0"}],"ecosystem":"Go","package":"github.com/fission/fission","purl":"pkg:golang/github.com/fission/fission","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.24.0"}],"ecosystem":"Go","package":"github.com/fission/fission","purl":"pkg:golang/github.com/fission/fission","source":"go"}],"references":[{"url":"https://github.com/fission/fission/security/advisories/GHSA-cvw6-gfvv-953q","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/fission/fission/pull/3389","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/fission/fission/releases/tag/v1.24.0","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49824","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/fission/fission/commit/80e7ba55228e1ef426f51353e25d2682ec61de34","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/fission/fission","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T18:21:48.626Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49824","url":"https://www.cve.org/CVERecord?id=CVE-2026-49824","licence":"CVE Terms of Use","modified":"2026-06-10T18:21:55.488Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cvw6-gfvv-953q","url":"https://github.com/advisories/GHSA-cvw6-gfvv-953q","licence":"CC-BY-4.0","modified":"2026-07-07T16:11:06.234Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5852","url":"https://pkg.go.dev/vuln/GO-2026-5852","licence":"CC-BY-4.0","modified":"2026-07-07T16:00:22.573Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49824","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49824","licence":"Public domain","modified":"2026-06-17T10:55:46.883Z"}],"updatedAt":"2026-11-25T22:59:24.353Z","epss":{"score":0.00236,"percentile":0.15608,"date":"2026-12-01T12:00:22.000Z"}}