CVE-2026-35194

Published: Mag 15, 2026 Last Modified: Mag 18, 2026
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 8,1
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: high
Availability: none

Description

AI Translation Available

Code injection in SQL code generation in Apache Flink 1.15.0 through 1.20.x and 2.0.0 through 2.x allows authenticated users with query submission privileges to execute arbitrary code on TaskManagers via maliciously crafted SQL queries. The vulnerability affects JSON functions (1.15.0+) and LIKE expressions with ESCAPE clauses (1.17.0+). User-controlled strings are interpolated into generated Java code without proper escaping, allowing attackers to break out of string literals and inject arbitrary expressions.

Users are recommended to upgrade to either version 1.20.4, 2.0.2, 2.1.2 or 2.2.1, which fixes this issue.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0005
Percentile
0,1th
Updated

EPSS Score Trend (Last 6 Days)

94

Improper Control of Generation of Code ('Code Injection')

Draft
Common Consequences
Security Scopes Affected:
Access Control Integrity Confidentiality Availability Non-Repudiation
Potential Impacts:
Bypass Protection Mechanism Gain Privileges Or Assume Identity Execute Unauthorized Code Or Commands Hide Activities
Applicable Platforms
Languages: Interpreted
Technologies: AI/ML
View CWE Details
Application

Flink by Apache

cpe:2.3:a:apache:flink:2.2.0:-:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Flink by Apache

cpe:2.3:a:apache:flink:2.2.0:rc1:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Flink by Apache

Version Range Affected
From 2.1.0 (inclusive)
To 2.1.2 (exclusive)
cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Flink by Apache

cpe:2.3:a:apache:flink:2.2.0:rc2:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Flink by Apache

Version Range Affected
From 1.15.0 (inclusive)
To 1.20.4 (exclusive)
cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Flink by Apache

Version Range Affected
From 2.0.0 (inclusive)
To 2.0.2 (exclusive)
cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
http://www.openwall.com/lists/oss-security/2026/05/15/20
https://lists.apache.org/thread/qh52bw4hhvy7n2owd8b3bt51mz0lvj9x