Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
Network-reachable via webhook (AV:N) but requires specific flow configuration forwarding untrusted input (AC:H); file write only with no read primitive confirms C:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Kestra is an open-source, event-driven orchestration platform. Prior to versions 1.3.19, 1.2.19, 1.1.19, and 1.0.43, Kestra task inputFiles writes rendered file names directly under the task working directory. When a flow forwards untrusted execution or webhook data into an inputFiles file name, a caller can use ../ path segments to create or overwrite files outside that task working directory on the worker filesystem. Versions 1.3.19, 1.2.19, 1.1.19, and 1.0.43 patch the issue.
AnalysisAI
Path traversal in Kestra's inputFiles task mechanism allows remote attackers to write arbitrary files to the worker filesystem when flows forward untrusted webhook or execution data as file names. Affected across four release branches (prior to 1.3.19, 1.2.19, 1.1.19, and 1.0.43), exploitation depends on a specific flow design pattern but requires no authentication if the target webhook is publicly accessible. No public exploit code or active exploitation has been identified at time of analysis, but the CVSS integrity impact is rated High due to the ability to create or overwrite files outside the task working directory.
Technical ContextAI
Kestra (cpe:2.3:a:kestra-io:kestra) is an open-source, event-driven workflow orchestration platform that executes tasks on worker nodes. The inputFiles task feature allows flows to stage files into a task's working directory before execution, with file names rendered from flow-level data. The root cause is CWE-22 (Path Traversal): file name values derived from execution parameters or webhook payloads are written to the worker filesystem without stripping or rejecting ../ directory traversal sequences. When a Kestra flow is designed to pass externally supplied data into the inputFiles key (file name), that unsanitized string reaches the filesystem write operation, allowing traversal out of the task sandbox to arbitrary paths on the worker host. The vulnerability is architectural - it is triggered at the point where user-controlled string data crosses the trusted task working directory boundary.
RemediationAI
Upgrade Kestra to the patched release corresponding to the deployed branch: 1.3.19, 1.2.19, 1.1.19, or 1.0.43. These releases contain the vendor fix confirmed in GitHub Security Advisory GHSA-q3fw-mvgv-pjr2 (https://github.com/kestra-io/kestra/security/advisories/GHSA-q3fw-mvgv-pjr2). If an immediate upgrade is not feasible, the primary compensating control is to audit all flows using inputFiles and replace any user-controlled data in file name keys with static, hardcoded values defined by the flow developer - this eliminates the attack surface without platform-level enforcement, but requires a manual review of every affected flow. As a secondary control, restrict webhook endpoints to authenticated callers or allowlisted source IPs to reduce the network-accessible attack surface; note this does not address execution-triggered paths and may require Kestra API gateway configuration. These workarounds are flow-by-flow mitigations and do not substitute for patching.
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Kestra orchestration platform before 1.0.45 and 1.3.21 lets anonymous attackers
Kestra versions 1.1.10 and earlier allow authenticated users to perform cross-site scripting (XSS) attacks through the e
SQL injection in Kestra orchestration platform's flow search endpoint (GET /api/v1/main/flows/search) enables remote cod
Offline administrator password recovery in Kestra OSS (versions prior to 1.3.24) stems from its BasicAuth component stor
Stored cross-site scripting in Kestra's custom Markdown renderer (versions before 1.3.24) allows any authenticated user
Arbitrary file read in Kestra orchestration platform (versions prior to 1.0.43 and 1.3.19) lets an authenticated user wi
Authenticated path traversal in Kestra's local internal-storage backend (versions prior to 1.0.45 and 1.3.23) lets any l
Cross-site scripting in Kestra orchestration platform versions up to 1.3.3 enables authenticated flow authors to inject
Unauthorized file read in Kestra's execution preview API allows any authenticated tenant user to access output files fro
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38081