Skip to main content
Public proof of conceptFix available

CVE-2026-35194

A public proof of concept exists; no exploitation attested.

  • Published2026-05-15
  • Fixed in2.2.1 · 2.1.2 · 2.1.1 · 2.0.2 · 1.20.4
  • WeaknessCWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-1516:16CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub

Observed activity

isMalicious corpus · updated 2026-11-03 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-35194?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-35194?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV · NVD
Apache flink
BranchAffectedFixed in
2.2≥ 2.2.0, < 2.2.12.2.1
2.1≥ 2.1.0, < 2.1.22.1.2
2.1≥ 2.1.0, < 2.1.12.1.1
2.0≥ 2.0.0, < 2.0.22.0.2
1.x≥ 1.15.0, < 1.20.41.20.4
2.2= 2.2.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Apache Software Foundation Apache Flinkother versions: not affected
    Affected
    • ≥ 1.15.0, < 1.20.4,2.0.2,2.1.2,2.2.1fixed in 1.20.4,2.0.2,2.1.2,2.2.1semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-05-15

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • flink-1.19MinimOSall versions · no fixed version listedand 3 other packages
  • flink-1.19Chainguardall versions · no fixed version listed
  • flink-1.20MinimOSall versions · fixed in 1.20.4-r0
  • flink-2.0MinimOSall versions · fixed in 2.0.2-r0
  • flink-2.1MinimOSall versions · fixed in 2.1.2-r0
  • org.apache.flink:flink-table-runtimeEcho:Mavenall versions · fixed in 1.20.4and 1 other package

Full record on NVD

Fix

  1. Update Apache flink to 2.2.1 · 2.1.2 · 2.1.1 · 2.0.2 · 1.20.4

Advisories and patches

Detection

read 2026-11-03 22:42 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
1 repository, unverifiedDexSemon/CVE-2026-35194
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Published
2026-05-15
Last Modified
2026-10-26
NVD status
Analyzed
GitHub Advisory
GHSA-2f54-v4hm-fx73

Frequently asked questions

What is CVE-2026-35194?

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.

Is CVE-2026-35194 actively exploited?

Active exploitation of CVE-2026-35194 has not been confirmed. Its EPSS score was 0.4% on 2026-11-03, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-35194?

CVE-2026-35194 has a CVSS v3 base score of 8.1 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Running flink? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record