CVE-2026-34612: Kestra: Remote Code Execution via SQL Injection
Kestra is an open-source, event-driven orchestration platform. Prior to version 1.3.7, Kestra (default docker-compose deployment) contains a SQL Injection vulnerability that leads to Remote Code Execution (RCE) in the following endpoint "GET /api/v1/main/flows/search". Once a user is authenticated, simply visiting a crafted link is enough to trigger the vulnerability. The injected payload is executed by PostgreSQL using COPY ... TO PROGRAM ..., which in turn runs arbitrary OS commands on the host. This issue has been patched in version 1.3.7.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Kestrato a version that resolves this vulnerability.Fixed in 1.3.7
Event History
Frequently Asked Questions
What is the severity of CVE-2026-34612?
CVE-2026-34612 is a critical vulnerability as it allows remote code execution due to SQL Injection in Kestra prior to version 1.3.7.
How do I fix CVE-2026-34612?
To fix CVE-2026-34612, upgrade to Kestra version 1.3.7 or later.
What types of attacks can be executed using CVE-2026-34612?
CVE-2026-34612 allows attackers to execute arbitrary code on the server through SQL Injection.
What software is affected by CVE-2026-34612?
CVE-2026-34612 affects Kestra versions prior to 1.3.7.
Is CVE-2026-34612 related to specific endpoints in Kestra?
Yes, CVE-2026-34612 specifically affects the endpoint "GET /api/v1/ma..." in Kestra.