Kestra: Remote Code Execution via SQL Injection
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA kestra (kestra-io) Fixed in 1.3.7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-34612
References
More Kestra vulnerabilities
- TI-2026-36769 Kestra: Unauthenticated Remote Code Execution via Authentication Bypass in `AuthenticationFilter` KEVCVSS 3.1CRITICAL 10.0
- TI-2026-38637 Kestra: Unauthenticated RCE via /configs path-suffix auth-filter bypass CVSS 3.1CRITICAL 10.0
- TI-2026-28138 Kestra v1.3.3 and before is vulnerable to SQL Injection. CVSS 3.1CRITICAL 9.8
- TI-2026-39775 Kestra BasicAuth Password Stored as SHA-512 Enables Offline Brute-Force Attack CVSS 3.1HIGH 8.7
- TI-2026-36817 Information disclosure in kestra CVSS 3.1HIGH 7.7
- TI-2026-33542 Kestra: Path traversal via URL-encoded "%2E%2E" in execution and namespace file endpoints allows arbitrary file read CVSS 3.1HIGH 7.7
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences