7.7Hoch

CVE-2026-45807Kestra: Path traversal via URL-encoded "%2E%2E" in execution and namespace file endpoints allows arbitrary file read

kestra-io kestra Veröffentlicht: (vor 4 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-22

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
kestra kestra < 1.0.43
kestra-io kestra < 1.0.43, >= 1.1.0, < 1.3.19

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:* < 1.0.43
  • cpe:2.3:a:kestra:kestra:*:*:*:*:*:*:*:* ≥ 1.1.0 < 1.3.19