{"id":"GHSA-q6vm-xqc9-v3ff","revision":"bd84004b42ae4dcdb5837063c11759b8","records":[{"revision":"bd84004b42ae4dcdb5837063c11759b8","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-q6vm-xqc9-v3ff","aliases":["CVE-2026-50567","GO-2026-6127"],"title":" Fission: Zip Slip in pkg/utils/zip.go:Unarchive allows fetcher to write outside the destination directory","description":"`Unarchive` in `pkg/utils/zip.go` joined each archive entry name with the destination directory via `filepath.Join` and wrote the result without checking whether the resolved path stayed under the destination. A zip entry named\n  `../../tmp/evil` therefore landed at `/tmp/evil`. An attacker who could control a `Package.Spec.Source.URL` or `Deployment.URL` archive could induce the fetcher (running as the per-environment pod's `fission-fetcher` sidecar) to write\n  files anywhere that process could reach: into other tenants' `/packages/<ns>/` directories, into mounted secret/config volumes, or into the fetcher's own binary.\n\n  ### Affected\n\n  - Project: `github.com/fission/fission`\n  - Versions: all up to and including v1.24.0\n  - Audited commit: `647c141`\n  - Component: `pkg/utils/zip.go` (`Unarchive`)\n  - Configuration: default; triggered when the fetcher downloads and extracts a zip archive\n\n  Fix section (paste into the Fix / Patches field)\n\n  Fixed in [v1.25.0](https://github.com/fission/fission/releases/tag/v1.25.0) by:\n\n  - [PR #3444](https://github.com/fission/fission/pull/3444) (commit [`55704aca`](https://github.com/fission/fission/commit/55704aca1b8d6f45bc7c7c2e4805c7e14875ec0f)) — `Unarchive` now opens an `os.Root` on the destination, validates each\n  archive entry name (rejects absolute paths and `..` traversal), and refuses symlink entries up front. The `os.Root` confines every `mkdir` / `create` to the destination in the kernel.\n\n  Regression coverage: `TestUnarchiveZipSlip` in `pkg/utils/zip_test.go` exercises parent-traversal, absolute-path, and symlink entries.","state":0,"publishedAt":"2026-07-28T20:16:52+00:00","modifiedAt":"2026-08-18T15:11:00.7317173+00:00","affected":[{"ecosystem":"Go","name":"github.com/fission/fission","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.25.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/fission/fission/security/advisories/GHSA-q6vm-xqc9-v3ff","https://nvd.nist.gov/vuln/detail/CVE-2026-50567","https://github.com/fission/fission/pull/3444","https://github.com/fission/fission","https://github.com/fission/fission/releases/tag/v1.25.0"],"sourceUrl":"https://github.com/advisories/GHSA-q6vm-xqc9-v3ff","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-q6vm-xqc9-v3ff","identifiers":["GHSA-q6vm-xqc9-v3ff","CVE-2026-50567","GO-2026-6127"]},"retained":false,"historicalAffected":[]}],"coverage":[]}