Advisory record · GHSA-2f54-v4hm-fx73

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

CVSS 8.1 HighEPSS 0.0038 · 32nd percentile

Published by the GitHub Advisory Database at 15 May 2026, 18:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
org.apache.flink:flink-table-planner_2.12Maven>=1.15.0, <1.20.4 || >=2.0.0, <2.0.2 || >=2.1.0, <2.1.2 || >=2.2.0, <2.2.11.20.4, 2.0.2, 2.1.2, 2.2.1
org.apache.flink:flink-table-api-javaMaven>=1.15.0, <1.20.4 || >=2.0.0, <2.0.2 || >=2.1.0, <2.1.2 || >=2.2.0, <2.2.11.20.4, 2.0.2, 2.1.2, 2.2.1
org.apache.flink:flink-table-runtimeMaven>=1.15.0, <1.20.4 || >=2.0.0, <2.0.2 || >=2.1.0, <2.1.2 || >=2.2.0, <2.2.11.20.4, 2.0.2, 2.1.2, 2.2.1
Identifiers
GHSA-2f54-v4hm-fx73 · BIT-flink-2026-35194 · CVE-2026-35194
Weakness (CWE)
CWE-94
Published
15 May 2026
Updated
22 May 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Apache Flink's flink-table-planner_2.12, flink-table-api-java and flink-table-runtime packages are affected in versions 1.15.0 through 1.20.x and 2.0.0 through 2.2.0. An attacker who has an account with query submission privileges can send crafted SQL queries that inject arbitrary code, which runs on TaskManagers. Upgrade to 1.20.4, 2.0.2, 2.1.2 or 2.2.1, depending on your release line.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.1 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0038, the 32nd percentile, on 9 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:20 UTC First seen by agentprime
  2. 31 Oct 2026, 14:20 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.