# CVE-2026-50568: Fission: SanitizeFilePath lexical HasPrefix bypass permits sibling-directory escape

- Severity: Low 3.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-06-10T17:31:49.917Z
- Modified: 2026-08-18T15:11:05.322Z
- Also known as: GHSA-r5jh-q2mw-gcx4, GO-2026-6130
- Weaknesses: CWE-41
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- fission fission: < 1.25.0
- github.com/fission/fission (Go): before 1.25.0

## Every score

- GitHub_M: CVSS:3.1 3.6 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.6 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4> (advisory, web)
- <https://github.com/fission/fission/pull/3445> (fix, web)
- <https://github.com/fission/fission/pull/3446> (fix, web)
- <https://github.com/fission/fission/releases/tag/v1.25.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50568> (advisory)
- <https://github.com/fission/fission/commit/5aac6f0bcdf840e28f3f06c846ca7ae1866b3957> (fix, web)
- <https://github.com/fission/fission/commit/8298e33ea7457702f893eae11077987cf905edb4> (fix, web)
- <https://github.com/fission/fission> (package)

## Sources

- CVE List: [CVE-2026-50568](https://www.cve.org/CVERecord?id=CVE-2026-50568), CVE Terms of Use, modified 2026-06-11
- GitHub Advisory Database: [GHSA-r5jh-q2mw-gcx4](https://github.com/advisories/GHSA-r5jh-q2mw-gcx4), CC-BY-4.0, modified 2026-08-18
- Go Vulnerability Database: [GO-2026-6130](https://pkg.go.dev/vuln/GO-2026-6130), CC-BY-4.0, modified 2026-08-18
- NVD: [CVE-2026-50568](https://nvd.nist.gov/vuln/detail/CVE-2026-50568), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-50568 · Whole record: https://cve.day/CVE-2026-50568.json · Rebuilt by cve.day 2026-11-25T22:59:24.356Z
