CVE-2026-49869

Kestra: Unauthenticated Remote Code Execution via Authentication Bypass in `AuthenticationFilter`

Published Jun 26, 2026 CVSS 3.1 · 10 Critical EPSS 20.4% KEV · Listed
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.

Analysis

AI-generated

Technical 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 < 1%, and the vulnerability is 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.

Remediation

No solution or workaround provided in the CVE record.

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 September 3, 2026 at 15:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'active', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics kev

{'dateAdded': '2026-09-02T00:00:00+00:00', 'dueDate': '2026-09-05T00:00:00+00:00'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Kestra-io
Kestra-io kestra
Vendors & Products Kestra-io
Kestra-io kestra
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'}

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)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 3, 2026, 3:55 AM
Reserved
Jun 1, 2026, 10:03 PM
Status
Analyzed
Published
Jun 26, 2026, 10:16 PM
Modified
Oct 25, 2026, 5:10 PM