{"id":"CVE-2026-50565","aliases":["CVE-2026-50565","GHSA-8wcj-mfrc-jx5q","GO-2026-5850"],"related":[],"kind":"vulnerability","state":"published","title":"Fission builder pods auto-mount the fission-builder ServiceAccount token in the user-supplied builder container","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, Fission builder pods were created with ServiceAccountName: fission-builder and no AutomountServiceAccountToken: false, so the kubelet auto-mounted the service-account token into every container in the pod — including the user-supplied builder image. 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, Fission builder pods were created with ServiceAccountName: fission-builder and no AutomountServiceAccountToken: false, so the kubelet auto-mounted the service-account token into every container in the pod — including the user-supplied builder image. This issue has been patched in version 1.24.0.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nFission builder pods were created with `ServiceAccountName: fission-builder` and no `AutomountServiceAccountToken: false`, so the kubelet auto-mounted the service-account token into every container in the pod — including the\nuser-supplied builder image.\n\n### Details\n\nThe user controls the builder container image, command, and podspec through `Environment.spec.builder.image` / `.container` / `.podspec`. With the SA token auto-mounted at `/var/run/secrets/kubernetes.io/serviceaccount/token` inside that\n container, any code running there inherited the `fission-builder` identity. The `fission-builder` SA holds namespace-wide `get` on `secrets` and `configmaps` (`pkg/utils/serviceaccount.go`), so the user-controlled builder container\ncould read every Secret in the builder namespace by name.\n\nThis is the buildermgr sibling of GHSA-85g2-pmrx-r49q (CVE-2026-46617), whose fix suppressed the SA-token automount on function runtime pods but did not cover the structurally identical primitive in `pkg/buildermgr/envwatcher.go`.\n\n### Impact\n\nA subject with `create`/`update` on `Environment` CRDs in a namespace observed by the buildermgr could read every Secret and ConfigMap in the builder namespace via the auto-mounted `fission-builder` token.\n\n### Fix\n\nFixed 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). In `createBuilderDeployment`:\n\n- Set pod-level `AutomountServiceAccountToken=false` on the initial PodSpec and add the projected fetcher SA-token volume.\n- Re-clamp `AutomountServiceAccountToken=false` after every `MergePodSpec` call so a user-supplied podspec cannot restore the kubelet automount.\n- Mount the token via a projected volume on the fetcher sidecar only, so the legitimate build → archive-upload flow keeps its cluster API access.\n\nReuses the projected-volume helpers from `pkg/executor/util/satoken.go` introduced by the GHSA-85g2-pmrx-r49q fix.\n\n### Behavioural change\n\nThe user-supplied builder container no longer receives an auto-mounted SA token. The fetcher sidecar still gets its token via a projected volume.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Fission builder pods auto-mount the fission-builder ServiceAccount token in the user-supplied builder container in github.com/fission/fission","format":"markdown","source":"go"}],"published":"2026-06-10T17:28:27.457Z","modified":"2026-07-07T16:11:33.642Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-250","CWE-269","CWE-538"],"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-8wcj-mfrc-jx5q","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/fission/fission/pull/3390","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-50565","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/fission/fission/commit/8fa799417c77ce8a0189d9858bfe11ece29b84a6","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:38:05.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50565","url":"https://www.cve.org/CVERecord?id=CVE-2026-50565","licence":"CVE Terms of Use","modified":"2026-06-10T18:42:31.704Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8wcj-mfrc-jx5q","url":"https://github.com/advisories/GHSA-8wcj-mfrc-jx5q","licence":"CC-BY-4.0","modified":"2026-07-07T16:11:33.642Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5850","url":"https://pkg.go.dev/vuln/GO-2026-5850","licence":"CC-BY-4.0","modified":"2026-07-07T16:01:34.913Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50565","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50565","licence":"Public domain","modified":"2026-06-17T10:57:42.953Z"}],"updatedAt":"2026-11-25T22:59:24.355Z","epss":{"score":0.00256,"percentile":0.18306,"date":"2026-12-01T12:00:22.000Z"}}