{"api_version":"1","generated_at":"2026-06-10T23:56:09+00:00","cve":"CVE-2026-50568","urls":{"html":"https://cve.report/CVE-2026-50568","api":"https://cve.report/api/cve/CVE-2026-50568.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50568","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50568"},"summary":{"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 /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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-06-10 18:17:13","updated_at":"2026-06-10 19:37:41"},"problem_types":["CWE-41","CWE-41 CWE-41: Improper Resolution of Path Equivalence"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"3.6","severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","baseScore":3.6,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"3.6","severity":"LOW","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","data":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.6,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/fission/fission/releases/tag/v1.25.0","name":"https://github.com/fission/fission/releases/tag/v1.25.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/fission/fission/pull/3446","name":"https://github.com/fission/fission/pull/3446","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/fission/fission/pull/3445","name":"https://github.com/fission/fission/pull/3445","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4","name":"https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50568","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50568","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"fission","product":"fission","version":"affected < 1.25.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"fission","vendor":"fission","versions":[{"status":"affected","version":"< 1.25.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":3.6,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-41","description":"CWE-41: Improper Resolution of Path Equivalence","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-10T17:31:49.917Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4"},{"name":"https://github.com/fission/fission/pull/3445","tags":["x_refsource_MISC"],"url":"https://github.com/fission/fission/pull/3445"},{"name":"https://github.com/fission/fission/pull/3446","tags":["x_refsource_MISC"],"url":"https://github.com/fission/fission/pull/3446"},{"name":"https://github.com/fission/fission/releases/tag/v1.25.0","tags":["x_refsource_MISC"],"url":"https://github.com/fission/fission/releases/tag/v1.25.0"}],"source":{"advisory":"GHSA-r5jh-q2mw-gcx4","discovery":"UNKNOWN"},"title":"Fission: SanitizeFilePath lexical HasPrefix bypass permits sibling-directory escape"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-50568","datePublished":"2026-06-10T17:31:49.917Z","dateReserved":"2026-06-04T21:34:34.427Z","dateUpdated":"2026-06-10T17:31:49.917Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-10 18:17:13","lastModifiedDate":"2026-06-10 19:37:41","problem_types":["CWE-41","CWE-41 CWE-41: Improper Resolution of Path Equivalence"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N","baseScore":3.6,"baseSeverity":"LOW","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1,"impactScore":2.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"50568","Ordinal":"1","Title":"Fission: SanitizeFilePath lexical HasPrefix bypass permits sibli","CVE":"CVE-2026-50568","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"50568","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Fission: SanitizeFilePath lexical HasPrefix bypass permits sibli"}]}}}