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
kestra: kestra
References4
- github.com/kestra-io/kestra/security/advisories/GHSA-365w-2m69-… ExploitMitigationVendor Advisory
- github.com/kestra-io/kestra/security/advisories/GHSA-365w-2m69-… ExploitMitigationVendor Advisory
- github.com/kestra-io/kestra/commit/3926762795df8ad3e03924b370c5… Patch
- github.com/kestra-io/kestra/releases/tag/v1.3.7 ProductRelease Notes
Metrics
- CVSS 3.1
-
9.0
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 53 · as of 12 November 2026
- CWE
- CWE-89
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.