🛡️ CVE-2026-35194 — flink
Description
Apache Flink: Remote code execution via SQL injection in code generation
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability none.
Weakness class
CVE-2026-35194 is classified as CWE-94: Code Injection. Input is incorporated into code that the runtime evaluates, so an attacker can have their own code executed.
Affected software
CVE-2026-35194 is recorded against 5 packages.
- flink
- org.apache.flink:flink-table-api-java (from 2.2.0 up to 2.2.1)
- org.apache.flink:flink-table-planner-2.12 (from 2.2.0 up to 2.2.1)
- org.apache.flink:flink-table-runtime (from 2.2.0 up to 2.2.1)
- unknown
Timeline and source
Published on 19 May 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. Record sourced from NVD.
References
www.openwall.com (Web)
lists.apache.org (Web)
nvd.nist.gov (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| flink | — | — |
| org.apache.flink:flink-table-api-java | 2.2.0 | 2.2.1 |
| org.apache.flink:flink-table-planner-2.12 | 2.2.0 | 2.2.1 |
| org.apache.flink:flink-table-runtime | 2.2.0 | 2.2.1 |
| unknown | — | — |
References
Similar Threats
- Unknown MINI-pfrh-wrhx-c6g7
- Unknown MINI-8pgq-2h5r-838m
- Unknown MINI-vh47-rcr2-4v67
- Unknown MINI-22wx-cwc8-qc7h
- Unknown MINI-qrp6-rp44-qx9p
More CVE 2026 advisories
Browse all of CVE 2026 in the advisory index.
Site Security Check
Is flink part of your stack?
CVE-2026-35194 is rated CVSS 8.1 High. BotEraser scans your installation against known CVE records and tells you whether this vulnerability applies to the versions you actually run.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.