Kestra
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS10.0critical · scored by CNA · CWE-89
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
kestra-io kestra
- < 1.3.7
Fixed in 1.3.7
Mitigation
Upgrade kestra to 1.3.7 or later.
References
- Vendor advisory github.com/kestra-io/kestra/security/advisorie…
- Patch github.com/kestra-io/kestra/commit/3926762795d…
- Release notes github.com/kestra-io/kestra/releases/tag/v1.3.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.