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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.6
- **CVSS:** 3.6 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.14% (percentile 2, 2026-11-26)
- **CWE:** CWE-41
- **Aliases:** GHSA-r5jh-q2mw-gcx4, GO-2026-6130
- **Published:** 2026-06-10T17:31:49.917Z
- **Modified:** 2026-08-18T15:11:05.322Z

## Who should check

- Projects that depend on Go package github.com/fission/fission (\< 1.25.0)
- Anyone running fission \< 1.25.0

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

## Affected and fixed versions

- Go `github.com/fission/fission`: affected \< 1.25.0; fixed 1.25.0 (osv)
- fission: \< 1.25.0 (cvelist)

## Mitigation

- Upgrade github.com/fission/fission to 1.25.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-50568. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-50568.md
Affected: github.com/fission/fission < 1.25.0
Fixed in: 1.25.0

Steps:
1. Search this machine and project for github.com/fission/fission (Go), fission: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-50568 being exploited?

There is no confirmed exploitation: CVE-2026-50568 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.14% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-50568?

Low: CVSS 3.6 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-50568?

github.com/fission/fission \< 1.25.0.

### Is there a fix for CVE-2026-50568?

Yes. Fixed in 1.25.0. Upgrade github.com/fission/fission to 1.25.0 or later.

### How do I check if I'm affected by CVE-2026-50568?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/fission/fission/security/advisories/GHSA-r5jh-q2mw-gcx4>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-50568>
- patch: <https://github.com/fission/fission/pull/3445>
- patch: <https://github.com/fission/fission/pull/3446>
- patch: <https://github.com/fission/fission/commit/5aac6f0bcdf840e28f3f06c846ca7ae1866b3957>
- patch: <https://github.com/fission/fission/commit/8298e33ea7457702f893eae11077987cf905edb4>
- other: <https://github.com/fission/fission/releases/tag/v1.25.0>
- other: <https://github.com/fission/fission>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-50568>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-r5jh-q2mw-gcx4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6130> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-50568> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-50568>
