CVE-2026-26187

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

Configuration 1 (hide)

cpe:2.3:a:lakefs:lakefs:*:*:*:*:*:*:*:*

History

17 Jun 2026, 10:25

Type Values Removed Values Added
Summary
  • (es) lakeFS es una herramienta de código abierto que transforma el almacenamiento de objetos en repositorios similares a Git. Antes de la versión 1.77.0, el adaptador de bloque local (pkg/block/local/adapter.go) permitía a los usuarios autenticados leer y escribir archivos fuera de sus límites de almacenamiento designados. La función verifyRelPath utilizaba strings.HasPrefix() para verificar que las rutas solicitadas estuvieran dentro del directorio de almacenamiento configurado. Esta verificación era insuficiente porque validaba solo el prefijo de la ruta sin requerir un separador de ruta, lo que permitía el acceso a directorios hermanos con nombres similares. Además, el adaptador verificaba que las rutas resueltas permanecieran dentro de la ruta base del adaptador, pero no verificaba que los identificadores de objeto permanecieran dentro de su espacio de nombres de almacenamiento designado. Esto permitía a los atacantes utilizar secuencias de salto de ruta en el identificador de objeto para acceder a archivos en otros espacios de nombres. Corregido en la versión v1.77.0.

18 Feb 2026, 21:32

Type Values Removed Values Added
First Time Lakefs
Lakefs lakefs
References () https://github.com/treeverse/lakeFS/commit/cbc106275357302a834280f133265dc39f1384ce - () https://github.com/treeverse/lakeFS/commit/cbc106275357302a834280f133265dc39f1384ce - Patch
References () https://github.com/treeverse/lakeFS/releases/tag/v1.77.0 - () https://github.com/treeverse/lakeFS/releases/tag/v1.77.0 - Product, Release Notes
References () https://github.com/treeverse/lakeFS/security/advisories/GHSA-699m-4v95-rmpm - () https://github.com/treeverse/lakeFS/security/advisories/GHSA-699m-4v95-rmpm - Mitigation, Vendor Advisory
CPE cpe:2.3:a:lakefs:lakefs:*:*:*:*:*:*:*:*

13 Feb 2026, 19:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-13 19:17

Updated : 2026-06-17 10:25


NVD link : CVE-2026-26187

Mitre link : CVE-2026-26187

CVE.ORG link : CVE-2026-26187


JSON object : View

Products Affected

lakefs

  • lakefs
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')