Vulnerability · Published Apr 3, 2026 · Assigned by GitHub_M
CVE-2026-34612Kestra: Remote Code Execution via SQL Injection
Critical 10.0
In plain English
A critical-severity SQL injection in kestra from kestra-io. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/kestra-io/kestra/security/advisories/GHSA-365w-2m69-mp9x x_refsource_CONFIRM
- https://github.com/kestra-io/kestra/commit/3926762795df8ad3e03924b370c51832ed3a21d3 x_refsource_MISC
- https://github.com/kestra-io/kestra/releases/tag/v1.3.7 x_refsource_MISC