> CVE-2026-35194

« BACK_TO_HOME
PUBLISHED
2026-05-15 16:16
MODIFIED
2026-05-15 16:16
EPSS (Prob. Exploit)
0.66%
Top 49.2%
DATA SOURCES:
NVD 🔗 2026-05-15 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-29

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-94

> CWE DETAILED DESCRIPTIONS

CWE-94: Improper Control of Generation of Code - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

> GITHUB SECURITY ADVISORY

GHSA-2f54-v4hm-fx73 HIGH

Apache Flink: Remote code execution via SQL injection in code generation

AFFECTED PACKAGES:
MAVEN / org.apache.flink:flink-table-runtime
>= 2.2.0, < 2.2.1
Fixed in: 2.2.1
MAVEN / org.apache.flink:flink-table-runtime
>= 2.1.0, < 2.1.2
Fixed in: 2.1.2
MAVEN / org.apache.flink:flink-table-runtime
>= 2.0.0, < 2.0.2
Fixed in: 2.0.2
MAVEN / org.apache.flink:flink-table-runtime
>= 1.15.0, < 1.20.4
Fixed in: 1.20.4
MAVEN / org.apache.flink:flink-table-api-java
>= 2.2.0, < 2.2.1
Fixed in: 2.2.1
MAVEN / org.apache.flink:flink-table-api-java
>= 2.1.0, < 2.1.2
Fixed in: 2.1.2
MAVEN / org.apache.flink:flink-table-api-java
>= 2.0.0, < 2.0.2
Fixed in: 2.0.2
MAVEN / org.apache.flink:flink-table-api-java
>= 1.15.0, < 1.20.4
Fixed in: 1.20.4
MAVEN / org.apache.flink:flink-table-planner_2.12
>= 2.2.0, < 2.2.1
Fixed in: 2.2.1
MAVEN / org.apache.flink:flink-table-planner_2.12
>= 2.1.0, < 2.1.2
Fixed in: 2.1.2

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/05/2026 16:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-94: Improper Control of Generation of Code ('Code Injection') - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not n...
Nouvelle valeur:
CWE-94: Improper Control of Generation of Code - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorr...
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-94: Improper Control of Generation of Code ('Code Injection') - The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not n...
Total des modifications: 2 Dernière mise à jour: 6 days ago

> REFERENCES

https://lists.apache.org/thread/qh52bw4hhvy7n2owd8b3bt51mz0lvj9x
« BACK_TO_HOME