Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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 authe

41
This month
HIGH 8.1WATCHLISTUPGRADE

CVE-2026-35194 is a high-severity flaw (CVSS 8.1) affecting flink. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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

Why this priority

  • High severity
  • On your watchlist

A fixed release or distro patch exists.

Risk facts

CVSS score8.1 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.4% (top 68%)
CISA exploited listNo
WeaknessCWE-94
Published2026-05-15
Last modified2026-10-26
Publisher (CNA): Apache Software Foundation · Vendor: apache

Share: LinkedIn · X · Reddit

Last updated 2026-10-26 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

apache flink UPGRADE
Affected: >= 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
Fixed in: 1.20.4, 2.0.2, 2.1.2
Safe to downgrade to: a release before 1.15.0
1. Check installed version
apt-cache policy flink || rpm -q flink || flink --version
2. UPGRADE to 1.20.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade flink
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade flink
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.15.0 (Debian / Ubuntu)
apt-cache madison flink sudo apt install flink=<VERSION_BEFORE_1.15.0> sudo apt-mark hold flink
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list flink sudo dnf downgrade flink-<VERSION_BEFORE_1.15.0> sudo dnf versionlock add flink
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-35194?

flink: upgrade to 1.20.4, 2.0.2, 2.1.2. Exact commands for each OS are on this page.

Is CVE-2026-35194 being exploited?

CVE-2026-35194 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-35194 affect?

CVE-2026-35194 affects flink. Severity is high (CVSS 8.1). 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

How urgent is CVE-2026-35194?

Priority 41/100. High severity; On your watchlist

Software pages

Java vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.