Description
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.
Problem types
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Product status
References
github.com/...kestra/security/advisories/GHSA-365w-2m69-mp9x
github.com/...kestra/security/advisories/GHSA-365w-2m69-mp9x
github.com/...ommit/3926762795df8ad3e03924b370c51832ed3a21d3
github.com/kestra-io/kestra/releases/tag/v1.3.7