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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2026-02-13T16:16:04.000Z
- Modified: 2026-06-17T10:25:54.520Z
- Also known as: GHSA-699m-4v95-rmpm, GO-2026-4494
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- treeverse lakeFS: < 1.77.0
- github.com/treeverse/lakefs (Go): before 1.77.0
- lakefs lakefs: before 1.77.0

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/treeverse/lakeFS/security/advisories/GHSA-699m-4v95-rmpm> (advisory, mitigation, vendor-advisory, web)
- <https://github.com/treeverse/lakeFS/commit/cbc106275357302a834280f133265dc39f1384ce> (patch, web)
- <https://github.com/treeverse/lakeFS/releases/tag/v1.77.0> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-26187> (advisory)
- <https://github.com/treeverse/lakeFS> (package)

## Sources

- CVE List: [CVE-2026-26187](https://www.cve.org/CVERecord?id=CVE-2026-26187), CVE Terms of Use, modified 2026-02-13
- GitHub Advisory Database: [GHSA-699m-4v95-rmpm](https://github.com/advisories/GHSA-699m-4v95-rmpm), CC-BY-4.0, modified 2026-02-19
- Go Vulnerability Database: [GO-2026-4494](https://pkg.go.dev/vuln/GO-2026-4494), CC-BY-4.0, modified 2026-02-19
- NVD: [CVE-2026-26187](https://nvd.nist.gov/vuln/detail/CVE-2026-26187), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26187 · Whole record: https://cve.day/CVE-2026-26187.json · Rebuilt by cve.day 2026-11-25T22:59:13.849Z
