{"cve":"CVE-2026-50568","nvd":{"published":"2026-06-10T18:17:13.333","modified":"2026-06-17T10:57:43.250","status":"Deferred","description":"Fission is an open-source, Kubernetes-native serverless framework that simplifies the deployment of functions and applications on Kubernetes. Prior to version 1.25.0, SanitizeFilePath in pkg/utils/utils.go validated that a path stayed under a safe directory by calling strings.HasPrefix(path, safedir). This is a lexical check, not a directory boundary check: /packages-extra/evil starts with /packages, so it passed. The function did not enforce a path-separator boundary, so any sibling directory whose name began with the safe-directory string was accepted. Callers included the builder's Clean handler (pkg/builder/builder.go:208) and the fetcher's Fetch / Upload handlers (pkg/fetcher/fetcher.go). A tenant who could pre-create or control a sibling directory under the fetcher / builder's shared volume could induce a write or read outside the intended safe directory. This issue has been patched in version 1.25.0.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","score":3.6},"cwes":["CWE-41"],"references":["https://github.com/fission/fission/pull/3445","https://github.com/fission/fission/pull/3446","https://github.com/fission/fission/releases/tag/v1.25.0","https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:38:48.522727527+00:00"},"epss":{"cve":"CVE-2026-50568","score":0.00115,"percentile":0.01527,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-r5jh-q2mw-gcx4","url":"https://osv.dev/vulnerability/GHSA-r5jh-q2mw-gcx4","summary":"Fission: SanitizeFilePath lexical HasPrefix bypass permits sibling-directory escape","modified":"2026-08-18T15:11:05.322729445Z","packages":[{"ecosystem":"Go","name":"github.com/fission/fission","purl":"pkg:golang/github.com/fission/fission","ranges":["<1.25.0"],"fixed":["1.25.0"]}]},{"id":"GO-2026-6130","url":"https://osv.dev/vulnerability/GO-2026-6130","summary":"Fission: SanitizeFilePath lexical HasPrefix bypass permits sibling-directory escape in github.com/fission/fission","modified":"2026-08-18T15:00:22.717870840Z","packages":[{"ecosystem":"Go","name":"github.com/fission/fission","purl":"pkg:golang/github.com/fission/fission","ranges":["<1.25.0"],"fixed":["1.25.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}