CVE-2026-122263: Kestra: Content-Disposition filename parameter injection through unvalidated `namespace` path segment in namespace-files export endpoint
Kestra is an open-source control plane for workflows across data, infrastructure, and applications. Prior to version 2.0.1, the namespace-files export endpoint places an unvalidated namespace path segment into the Content-Disposition filename of the ZIP download. An attacker who tricks a user into following a crafted export URL can inject Content-Disposition header parameters to spoof the saved filename or extension. This issue is fixed in version 2.0.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Kestrato a version that resolves this vulnerability.Fixed in 2.0.1
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
Kestra instances running versions earlier than 2.0.1 are affected if users can be induced to open a crafted namespace-files export URL. Exploitation targets the user receiving the ZIP download rather than causing direct confidentiality or availability impact.
What does an attacker need to exploit it?
The attacker needs low-level privileges and must craft an export URL containing a malicious namespace path segment. A user must then interact with that URL, allowing injection of Content-Disposition parameters that can spoof the downloaded file name or extension.
Are default configurations affected?
The available information does not state whether default configurations expose the namespace-files export endpoint. The vulnerability exists in affected Kestra versions because the endpoint does not validate the namespace path segment used in the download filename.
What should be done if patching is not immediately possible?
The provided information identifies version 2.0.1 as the fix but does not specify a workaround. Until upgrading, limit exposure of the namespace-files export endpoint where possible and warn users not to follow untrusted export URLs.