CVE-2026-26187
Description
lakeFS is an open-source tool that transforms object storage into a Git-like repositories. Prior to 1.77.0, the local block adapter (pkg/block/local/adapter.go) allows authenticated users to read and write files outside their designated storage boundaries. The verifyRelPath function used strings.HasPrefix() to verify that requested paths fall within the configured storage directory. This check was insufficient because it validated only the path prefix without requiring a path separator, allowing access to sibling directories with similar names. Also, the adapter verified that resolved paths stayed within the adapter's base path, but did not verify that object identifiers stayed within their designated storage namespace. This allowed attackers to use path traversal sequences in the object identifier to access files in other namespaces. Fixed in version v1.77.0.
How to fix
- lakefs lakefs1.77.0 or later
- github.com/treeverse/lakefs1.77.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| lakefs lakefs | v < 1.77.0 | 1.77.0 |
| github.com/treeverse/lakefsGo | v < 1.77.0 | 1.77.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.