{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-50568","id":"CVE-2026-50568","title":"Fission: SanitizeFilePath lexical HasPrefix bypass permits sibling-directory escape","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 /packag","descriptionLong":"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.","published":"2026-06-10T17:31:49.917Z","updated":"2026-10-28T02:30:25.894266734Z","reserved":"2026-06-04T21:34:34.427Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.6,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["fission"],"affectedProducts":[{"vendor":"fission","product":"fission","defaultStatus":null,"versions":[{"version":"< 1.25.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/fission/fission","purl":"pkg:golang/github.com/fission/fission","ranges":["<1.25.0"],"fixed":["1.25.0"],"advisory":"GHSA-r5jh-q2mw-gcx4"}],"cwes":["CWE-41"],"aliases":["GHSA-r5jh-q2mw-gcx4","GO-2026-6130"],"references":[{"url":"https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/fission/fission/pull/3445","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/fission/fission/pull/3446","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/fission/fission/releases/tag/v1.25.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50568.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50568","tags":["advisory"]},{"url":"https://github.com/fission/fission/commit/5aac6f0bcdf840e28f3f06c846ca7ae1866b3957","tags":["web","fix"]},{"url":"https://github.com/fission/fission/commit/8298e33ea7457702f893eae11077987cf905edb4","tags":["web","fix"]},{"url":"https://github.com/fission/fission","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00115,"epssPercentile":0.01595,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-50568","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50568","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-50568","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-r5jh-q2mw-gcx4","ok":true,"note":"GHSA-r5jh-q2mw-gcx4"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-50568","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}