CVE-2026-50568
published low CVSS 3.1 · 3.6Fission: SanitizeFilePath lexical HasPrefix bypass permits sibling-directory escape
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fission | — | fission< 1.25.0 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.6 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fission | fission | < 1.25.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-41 CWE-41: Improper Resolution of Path Equivalence
References
4Provider assertions
2GitHub_M · cna
Fission: SanitizeFilePath lexical HasPrefix bypass permits sibling-directory escape
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 16acb895b93904dbab93f14a35804ccb9bfcee8792d5c81f8d76168e488047c9
- Ingested
- 23 Sep 2026, 09:18:57 UTC
- Source record
- Official CVE record