Description
Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, AuthenticationFilter in Kestra OSS uses request.getPath().endsWith("/configs") to whitelist the public configuration endpoint from Basic Auth. Because the check is a suffix match rather than an exact path match, any API path whose last segment is configs bypasses authentication entirely. An unauthenticated remote attacker can exploit this to create and execute arbitrary workflows without credentials. Because Kestra ships with script execution plugins (plugin-script-shell, plugin-script-python, etc.) enabled by default, this directly results in unauthenticated Remote Code Execution as root inside the Kestra worker container. This vulnerability is fixed in 1.0.45 and 1.3.21.
Published: 2026-06-26
Score: 10 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Kestra is an event‑driven orchestration platform that provides script execution plugins by default. In vulnerable OSS releases prior to 1.0.45 and 1.3.21, the AuthenticationFilter makes a suffix comparison on the request path to whitelist the public configuration endpoint. Because the check uses request.getPath().endsWith("/configs") rather than an exact match, any API path whose final segment is "configs" bypasses Basic Auth entirely. An unauthenticated attacker can therefore exploit this flaw to submit and run arbitrary workflows without credentials. With the default script plugins enabled, the attacker gains immediate root access inside the Kestra worker container, resulting in full remote code execution. The flaw thus allows complete control over the host system and bypasses all authentication mechanisms.

Affected Systems

Kestra OSS released under the kestra-io:kestra vendor is affected. All versions before 1.0.45 in the 1.0 series and before 1.3.21 in the 1.3 series are vulnerable. No other vendors or product lines were identified.

Risk and Exploitability

The vulnerability has a CVSS score of 10, flagging it as critical. The EPSS score is not available, and the vulnerability is not listed in CISA's KEV database, but the lack of observable exploitation does not reduce the inherent risk. The attack requires only unauthenticated HTTP access to the Kestra API, a path that ends with "/configs", making it trivially exploitable over the network. Because the flaw directly executes scripts as root inside the worker container, even a single successful request delivers remote code execution and full system compromise. Administrators should treat this as an immediate threat.

Generated by OpenCVE AI on June 26, 2026 at 22:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the vendor patch by upgrading to Kestra 1.0.45 or 1.3.21.
  • Restrict external access to the Kestra API, especially any path ending with "/configs", so that only trusted networks can use it.
  • Disable or restrict the built‑in script execution plugins such as plugin-script-shell and plugin-script-python until an upgrade is performed.
  • Continuously monitor workflow creation and execution logs for unauthorized activity.

Generated by OpenCVE AI on June 26, 2026 at 22:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 26 Jun 2026 21:30:00 +0000

Type Values Removed Values Added
Description Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, AuthenticationFilter in Kestra OSS uses request.getPath().endsWith("/configs") to whitelist the public configuration endpoint from Basic Auth. Because the check is a suffix match rather than an exact path match, any API path whose last segment is configs bypasses authentication entirely. An unauthenticated remote attacker can exploit this to create and execute arbitrary workflows without credentials. Because Kestra ships with script execution plugins (plugin-script-shell, plugin-script-python, etc.) enabled by default, this directly results in unauthenticated Remote Code Execution as root inside the Kestra worker container. This vulnerability is fixed in 1.0.45 and 1.3.21.
Title Kestra: Unauthenticated Remote Code Execution via Authentication Bypass in `AuthenticationFilter`
Weaknesses CWE-184
CWE-287
CWE-78
CWE-918
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-26T20:58:19.576Z

Reserved: 2026-06-01T22:03:19.641Z

Link: CVE-2026-49869

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-26T22:30:04Z

Weaknesses
  • CWE-184

    Incomplete List of Disallowed Inputs

  • CWE-287

    Improper Authentication

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

  • CWE-918

    Server-Side Request Forgery (SSRF)