Docker
CVE-2026-34612
CRITICAL
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
AnalysisAI
SQL injection in Kestra orchestration platform's flow search endpoint (GET /api/v1/main/flows/search) enables remote code execution on the underlying PostgreSQL host. Authenticated users can trigger the vulnerability by visiting a malicious link, exploiting PostgreSQL's COPY TO PROGRAM feature to execute arbitrary OS commands on the Docker container host. Affects Kestra versions prior to 1.3.7 in default docker-compose deployments. With CVSS 9.9 (Critical) and low attack complexity requiring only low-privilege authentication, this represents a severe risk for container escape and host compromise scenarios.
Technical ContextAI
Kestra is an event-driven workflow orchestration platform built on PostgreSQL for metadata storage. The vulnerability stems from improper input sanitization (CWE-89) in the flow search API endpoint, allowing SQL injection into PostgreSQL queries. The attack chain exploits PostgreSQL's COPY TO PROGRAM command, a native database feature that can execute arbitrary shell commands on the database server when provided malicious SQL input. In the default docker-compose deployment architecture, this translates to code execution within the PostgreSQL container context, which may share resources or network access with the host system. The affected product (cpe:2.3:a:kestra-io:kestra) is particularly vulnerable because the search endpoint processes user-controlled input without adequate parameterization, and the database connection has sufficient privileges to invoke COPY operations. This vulnerability class is particularly dangerous in containerized environments where database and application services often run with elevated permissions.
RemediationAI
Upgrade immediately to Kestra version 1.3.7 or later, which contains fixes for the SQL injection vulnerability as documented in the official release at https://github.com/kestra-io/kestra/releases/tag/v1.3.7. The patch implemented in commit 3926762795df8ad3e03924b370c51832ed3a21d3 addresses input sanitization in the flow search endpoint. Organizations unable to upgrade immediately should implement network-level access controls to restrict the /api/v1/main/flows/search endpoint to trusted IP ranges only, though this is a temporary mitigation and does not eliminate risk from authenticated insider threats or compromised credentials. Review PostgreSQL container permissions and consider running the database with reduced privileges that prevent COPY TO PROGRAM execution if operationally feasible. Consult the vendor security advisory at https://github.com/kestra-io/kestra/security/advisories/GHSA-365w-2m69-mp9x for additional guidance. Audit authentication logs for suspicious access patterns to the vulnerable endpoint prior to patching.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
An issue in Plone Docker Official Image 5.2.13 (5221) open-source software that could allow for remote code execution du
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
Unauthenticated remote code execution in 9router (npm package) versions 0.4.30 through 0.4.36 allows network-adjacent at
Same weakness CWE-89 – SQL Injection
View allShare
External POC / Exploit Code
Leaving vuln.today