CVE-2026-53576: CWE-94: Improper Control of Generation of Code ('Code Injection') in kestra-io kestra
Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter for the REST API (@Filter("/api/v1/**")) treats any request whose path ends in /configs as the public instance-config endpoint and forwards it without a credential check. kestra addresses its resources by URL path segments that the caller chooses (/api/v1/{tenant}/flows/{namespace}, /api/v1/{tenant}/executions/{namespace}/{id}, /api/v1/{tenant}/namespaces/{namespace}/kv/{key}). An anonymous caller picks the literal configs as the final segment, and the request bypasses Basic-Auth entirely. Because the bypass reaches the flow-create and execution-trigger routes, an unauthenticated caller creates a flow containing a Shell or Process task and runs it. The task executes as root inside the kestra container. The official docker-compose.yml mounts /var/run/docker.sock, so root in the container reaches the host Docker daemon. This vulnerability is fixed in 1.0.45 and 1.3.21.
AI Analysis
Technical Summary
Kestra, an open-source orchestration platform, has an authentication bypass vulnerability in its REST API filter for paths ending with /configs. This bypass allows unauthenticated attackers to create and trigger flows that execute shell or process tasks with root privileges inside the container. Since the official docker-compose mounts /var/run/docker.sock, the attacker gains root-level access to the host Docker daemon. The vulnerability is identified as CWE-94 (Improper Control of Generation of Code) and CWE-288 (Authentication Bypass). It is fixed in versions 1.0.45 and 1.3.21.
Potential Impact
An unauthenticated attacker can bypass authentication and execute arbitrary code as root inside the Kestra container. Due to the mounted Docker socket, this escalates to full root access on the host Docker daemon, leading to complete system compromise. The CVSS score is 10.0 (critical), indicating maximum impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Kestra to version 1.0.45 or later, or 1.3.21 or later, where this vulnerability is fixed. No other mitigations are documented. Patch status is not explicitly stated but the fix versions are known, so upgrading to these versions is the recommended remediation.
CVE-2026-53576: CWE-94: Improper Control of Generation of Code ('Code Injection') in kestra-io kestra
Description
Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter for the REST API (@Filter("/api/v1/**")) treats any request whose path ends in /configs as the public instance-config endpoint and forwards it without a credential check. kestra addresses its resources by URL path segments that the caller chooses (/api/v1/{tenant}/flows/{namespace}, /api/v1/{tenant}/executions/{namespace}/{id}, /api/v1/{tenant}/namespaces/{namespace}/kv/{key}). An anonymous caller picks the literal configs as the final segment, and the request bypasses Basic-Auth entirely. Because the bypass reaches the flow-create and execution-trigger routes, an unauthenticated caller creates a flow containing a Shell or Process task and runs it. The task executes as root inside the kestra container. The official docker-compose.yml mounts /var/run/docker.sock, so root in the container reaches the host Docker daemon. This vulnerability is fixed in 1.0.45 and 1.3.21.
CVSS v3.1
Score 10.0critical
Affected software
pkg:github/kestra-io/kestraRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Kestra, an open-source orchestration platform, has an authentication bypass vulnerability in its REST API filter for paths ending with /configs. This bypass allows unauthenticated attackers to create and trigger flows that execute shell or process tasks with root privileges inside the container. Since the official docker-compose mounts /var/run/docker.sock, the attacker gains root-level access to the host Docker daemon. The vulnerability is identified as CWE-94 (Improper Control of Generation of Code) and CWE-288 (Authentication Bypass). It is fixed in versions 1.0.45 and 1.3.21.
Potential Impact
An unauthenticated attacker can bypass authentication and execute arbitrary code as root inside the Kestra container. Due to the mounted Docker socket, this escalates to full root access on the host Docker daemon, leading to complete system compromise. The CVSS score is 10.0 (critical), indicating maximum impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade Kestra to version 1.0.45 or later, or 1.3.21 or later, where this vulnerability is fixed. No other mitigations are documented. Patch status is not explicitly stated but the fix versions are known, so upgrading to these versions is the recommended remediation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-09T19:11:53.484Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3eed5627e9c79719f40538
Added to database: 06/26/2026, 21:21:26 UTC
Last enriched: 07/03/2026, 22:24:19 UTC
Last updated: 08/10/2026, 03:50:21 UTC
Views: 123
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.