CVE-2026-48129: Kestra Path Traversal in inputFiles – Patch Guidance
Kestra, an open-source workflow orchestration tool, contains a path traversal vulnerability in its task file handling. When flows process untrusted data (from webhooks or external sources) as file names in the `inputFiles` feature, attackers can inject directory-traversal sequences like `../` to write or overwrite files outside the intended task directory on worker systems. This could allow an attacker to place malicious files in sensitive locations or corrupt existing files, depending on worker permissions and file system layout.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
- Weaknesses (CWE)
- CWE-22
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-19 / 2026-06-23
NVD description (verbatim)
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.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability resides in how Kestra's task engine handles the `inputFiles` parameter. Prior to the patched versions (1.3.19, 1.2.19, 1.1.19, 1.0.43), the platform fails to sanitize file name inputs before resolving them on disk. When untrusted data—such as webhook payloads or forwarded execution context—flows into file name fields without validation, an attacker can craft payloads containing path traversal sequences. The rendered file names are then written directly to the filesystem, allowing traversal outside the task's working directory. This is a classic CWE-22 path traversal issue amplified by the trust boundary between user-controlled input and file I/O operations.
Business impact
Exploitation could lead to unauthorized file creation or modification on worker nodes, potentially compromising application integrity and confidentiality. In multi-tenant or shared orchestration environments, an attacker exploiting a vulnerable flow could overwrite configuration files, inject malicious code into application directories, or corrupt data relied upon by other workflows. The blast radius depends on worker process privileges and network isolation; however, even in restricted deployments, the ability to place files in unexpected locations poses operational risk.
Affected systems
Kestra versions prior to 1.3.19, 1.2.19, 1.1.19, and 1.0.43 are vulnerable. Organizations running any older version within the 1.0, 1.1, 1.2, or 1.3 release families should prioritize identifying and upgrading affected instances. The vulnerability applies to self-hosted and container-deployed Kestra environments where flows process external input.
Exploitability
Exploitation requires the attacker to influence data that flows into an `inputFiles` field—either by controlling a webhook source, crafting a pull request that modifies a flow definition, or compromising an upstream service that feeds execution data to Kestra. The CVSS score of 6.5 reflects medium risk: network-accessible but requiring a somewhat specialized attack chain (AC:H) and no user interaction. Real-world impact depends on whether flows are designed to ingest untrusted data and whether deployed workers have write access to critical system directories.
Remediation
Upgrade affected Kestra instances to version 1.3.19, 1.2.19, 1.1.19, or 1.0.43 or later. Organizations should also review existing flows to identify those that accept external or webhook-driven input and apply them to `inputFiles` parameters, enforcing additional validation on file names where feasible. In the interim, restrict flow definitions to trusted sources and audit worker-level file system permissions to limit the impact of unauthorized writes.
Patch guidance
Apply the patched versions according to your Kestra deployment model: for containerized deployments, update the image tag; for binary/compiled installs, download and deploy the new release. Verify the upgrade by checking the version output (e.g., `kestra --version` or via the web UI). Test a non-critical flow that uses `inputFiles` to confirm functionality before rolling out across production workers. Stagger updates if running a distributed worker pool to maintain orchestration availability.
Detection guidance
Monitor worker filesystem logs and audit trails for unexpected file creation or modification outside standard task working directories. Search for flow definitions that reference `inputFiles` with dynamic, untrusted inputs—especially those accepting webhook data or variable substitution from external sources. Review task execution logs for unusual path segments (`../`, `..\`) in resolved file names. On the host level, monitor for file writes to sensitive directories (e.g., `/etc`, `/var`, application config folders) from Kestra worker processes.
Why prioritize this
Although not yet in CISA's KEV catalog, this vulnerability merits prioritization because it enables arbitrary file writes in multi-tenant and externally-facing orchestration environments. The combination of network accessibility and potential for lateral movement (via corrupted config or injected code) justifies treating it as a near-term patch candidate, particularly for organizations that operate Kestra in shared or cloud-native environments.
Risk score, explained
The CVSS 6.5 (Medium) score reflects: (1) network-accessible attack vector, no authentication required; (2) attack complexity marked high, indicating a non-trivial chain (flow design, data flow, path traversal payload construction); (3) impact limited to integrity (file writes) with some availability risk if critical files are overwritten. The score does not account for context-specific factors such as worker isolation, multi-tenancy, or regulatory compliance—organizations should adjust internal risk ratings based on their deployment posture.
Frequently asked questions
Do we need to patch if we only use Kestra with fully controlled, internal flow definitions?
Risk is substantially lower in that scenario, but you should still patch. Even internal flows can be compromised if a developer account is breached or if a dependency injection occurs elsewhere in your CI/CD pipeline. Patching eliminates the vector entirely.
Can we mitigate this vulnerability without upgrading immediately?
Partially. Review all flows using `inputFiles` and validate that they do not accept untrusted input (webhooks, user-supplied variables, external service data). Restrict flow edit permissions to trusted personnel. However, this is not a substitute for patching, as enforcement depends on operational discipline.
What file paths are most at risk if this is exploited?
Any location the Kestra worker process can write to is at risk—application config directories, log directories, deployed artifact folders, and shared volumes in Kubernetes environments. The exact impact depends on filesystem permissions and the attacker's knowledge of the deployment topology.
Is there a workaround for older versions that cannot be patched immediately?
No reliable workaround exists at the application level. Recommend running workers with minimal filesystem privileges (containerized workers with read-only root filesystem where possible) and implementing network-level controls to restrict webhook sources. These reduce impact but do not eliminate the flaw.
This analysis is based on the official CVE record and vendor advisory. All version numbers and patch references should be verified against Kestra's official security releases. CVSS scores are provided by NVD and may not reflect context-specific risk in your environment. This guidance does not constitute legal or compliance advice. Test all patches in non-production environments before deployment. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2018-25393MEDIUMNavigate CMS 2.8.5 Path Traversal Vulnerability (CVSS 6.5)
- CVE-2018-25421MEDIUMOpen STA Manager 2.3 Path Traversal File Download Vulnerability
- CVE-2019-25734MEDIUMContact Form by WD CSRF & Local File Inclusion Vulnerability
- CVE-2019-25740MEDIUMJoomla com_jsjobs Arbitrary File Deletion Vulnerability
- CVE-2022-50953MEDIUMWordPress admin-word-count-column Plugin Local File Read Vulnerability
- CVE-2024-47263MEDIUMSynology Hyper Backup Path Traversal – Admin Privilege Required
- CVE-2024-47273MEDIUMSynology Hyper Backup Path Traversal Vulnerability (4.3 MEDIUM)
- CVE-2025-24268MEDIUMmacOS Path Traversal Vulnerability – Patch Sequoia 15.4