WaratekVRT Sign in

CVE-2026-35194 Apache Flink

Affected softwareApache Flink
Severity8.1 High CVSS 3.1
Fixed in1.20.4, 2.0.2, 2.1.2, 2.2.1
WeaknessCode injection (CWE-94)
Published15 May 2026
Updated26 Oct 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. The 1 repository below are public GitHub repositories with fewer than 5 stars.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC 1 indexed, none at 5+ stars
  • EPSS 0.38% chance in 30 days

1 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Proof-of-concept exploit and lab environment for CVE-2026-35194 2026-07-02

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: apache/flink 64007b1.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.flink:flink-table-planner_2.12 1.15.0 1.20.4 unbounded
org.apache.flink:flink-table-planner_2.12 2.0.0 2.0.2 unbounded
org.apache.flink:flink-table-planner_2.12 2.1.0 2.1.2 unbounded
org.apache.flink:flink-table-planner_2.12 2.2.0 2.2.1 unbounded
org.apache.flink:flink-table-api-java 1.15.0 1.20.4 unbounded
org.apache.flink:flink-table-api-java 2.0.0 2.0.2 unbounded
org.apache.flink:flink-table-api-java 2.1.0 2.1.2 unbounded
org.apache.flink:flink-table-api-java 2.2.0 2.2.1 unbounded
org.apache.flink:flink-table-runtime 1.15.0 1.20.4 unbounded
org.apache.flink:flink-table-runtime 2.0.0 2.0.2 unbounded
org.apache.flink:flink-table-runtime 2.1.0 2.1.2 unbounded
org.apache.flink:flink-table-runtime 2.2.0 2.2.1 unbounded

Products and versions

4 products, 18 version entries
SourceVendorProductSchemeAffected versions
nvd apache flink generic ≥ 1.15.0 and < 1.20.4 · ≥ 2.0.0 and < 2.0.2 · ≥ 2.1.0 and < 2.1.2 · 2.2.0 · 2.2.0:rc1 · 2.2.0:rc2
osv org.apache.flink flink-table-api-java generic ≥ 1.15.0 and < 1.20.4 · ≥ 2.0.0 and < 2.0.2 · ≥ 2.1.0 and < 2.1.2 · ≥ 2.2.0 and < 2.2.1
osv org.apache.flink flink-table-planner_2.12 generic ≥ 1.15.0 and < 1.20.4 · ≥ 2.0.0 and < 2.0.2 · ≥ 2.1.0 and < 2.1.2 · ≥ 2.2.0 and < 2.2.1
osv org.apache.flink flink-table-runtime generic ≥ 1.15.0 and < 1.20.4 · ≥ 2.0.0 and < 2.0.2 · ≥ 2.1.0 and < 2.1.2 · ≥ 2.2.0 and < 2.2.1

References

URLTags
https://github.com/apache/flink/commit/64007b131d689158af90ca1c1b71b018129a85c5 WEB
https://github.com/apache/flink/commit/8db22cf8fbc4c785f6ffd41c2fd3e8b64a9688cd WEB
https://github.com/apache/flink PACKAGE
https://lists.apache.org/thread/qh52bw4hhvy7n2owd8b3bt51mz0lvj9x WEB
http://www.openwall.com/lists/oss-security/2026/05/15/20 WEB

Timeline

Published2026-05-15By the CVE Program.
NVD record modified2026-10-26NVD's own last-modified date for this record.