7.7high
Kestra: Path traversal via URL-encoded "%2E%2E" in execution and namespace file endpoints allows arbitrary file read
- Severity
- 7.7high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.57% (higher than 41% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.43 and 1.3.19, several Kestra API endpoints accept a kestra:// URI from the client and pass it through StorageInterface.parentTraversalGuard before reading the underlying file from the local storage backend. The guard only inspects the literal URI.toString(), so a URL-encoded .. written as %2E%2E slips through. The downstream code then calls URI.getPath(), which decodes %2E%2E back to .., and the resulting path is handed to Paths.get(...) without normalization. The OS resolves the .. segments at open(2) time, so an authenticated user with a single execution can read any file the Kestra process has access to on the host filesystem (/etc/passwd, mounted secrets, other tenants' execution outputs, etc.). This vulnerability is fixed in 1.0.43 and 1.3.19.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| kestra-io kestra | < 1.0.43, >= 1.1.0, < 1.3.19 | CVE List |
| kestra kestra | before 1.0.43, from 1.1.0 before 1.3.19 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.43 and 1.3.19, several Kestra API endpoints accept a kestra:// URI from the client and pass it through StorageInterface.parentTraversalGuard before reading the underlying file from the local storage backend. The guard only inspects the literal URI.toString(), so a URL-encoded .. written as %2E%2E slips through. The downstream code then calls URI.getPath(), which decodes %2E%2E back to .., and the resulting path is handed to Paths.get(...) without normalization. The OS resolves the .. segments at open(2) time, so an authenticated user with a single execution can read any file the Kestra process has access to on the host filesystem (/etc/passwd, mounted secrets, other tenants' execution outputs, etc.). This vulnerability is fixed in 1.0.43 and 1.3.19.
NVD (es)
Kestra es una plataforma de orquestación de código abierto e impulsada por eventos. Antes de las versiones 1.0.43 y 1.3.19, varios puntos finales de la API de Kestra aceptan una URI kestra:// del cliente y la pasan a través de StorageInterface.parentTraversalGuard antes de leer el archivo subyacente del backend de almacenamiento local. El guard solo inspecciona la URI literal.toString(), por lo que un .. codificado en URL escrito como %2E%2E se cuela. El código posterior luego llama a URI.getPath(), que decodifica %2E%2E de nuevo a .., y la ruta resultante se entrega a Paths.get(...) sin normalización. El SO resuelve los segmentos .. en el momento de open(2), por lo que un usuario autenticado con una sola ejecución puede leer cualquier archivo al que el proceso de Kestra tenga acceso en el sistema de archivos del host (/etc/p4ssd, secretos montados, salidas de ejecución de otros inquilinos, etc.). Esta vulnerabilidad está corregida en las versiones 1.0.43 y 1.3.19.
References
| https://github.com/kestra-io/kestra/security/advisories/GHSA-3529-p4wf-xp79 | exploit, mitigation, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-45807 changed 2026-06-29 | CVE Terms of Use |
| NVD | CVE-2026-45807 changed 2026-10-25 | Public domain |