Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
HIGH severity

GHSA-2f54-v4hm-fx73 — flink-table-planner_2.12

HIGHFix: apache/flink@64007b1

GHSA-2f54-v4hm-fx73 is a high-severity (CVSS 8.1) Code Injection vulnerability in org.apache.flink:flink-table-planner_2.12. A fix is available for org.apache.flink:flink-table-planner_2.12 — see the affected versions and patch details below.

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

Also known asBIT-flink-2026-35194CVE-2026-35194
Published
May 15, 2026
Updated
May 22, 2026
Affected
12 pkgs
Patched
12 / 12
Exploits
None indexed
Exploitation data as of Sep 28, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-2f54-v4hm-fx73.

EPSS Exploitation Probability

via FIRST.org ↗
0.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs49th percentile — riskier than 49% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-2f54-v4hm-fx73 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 380,066 CVEs with a current EPSS score, this one falls in the < 10% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

12 pkgs affected
☕org.apache.flink:flink-table-planner_2.12☕org.apache.flink:flink-table-planner_2.12☕org.apache.flink:flink-table-planner_2.12☕org.apache.flink:flink-table-planner_2.12☕org.apache.flink:flink-table-api-java☕org.apache.flink:flink-table-api-java☕org.apache.flink:flink-table-api-java☕org.apache.flink:flink-table-api-java+4 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

12 total 12 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.apache.flink:flink-table-planner_2.12≥ 1.15.0&&< 1.20.41.20.4org.apache.flink:flink-table-planner_2.12:1.20.4
☕Mavenorg.apache.flink:flink-table-planner_2.12≥ 2.0.0&&< 2.0.22.0.2org.apache.flink:flink-table-planner_2.12:2.0.2
☕Mavenorg.apache.flink:flink-table-planner_2.12≥ 2.1.0&&< 2.1.22.1.2org.apache.flink:flink-table-planner_2.12:2.1.2
☕Mavenorg.apache.flink:flink-table-planner_2.12≥ 2.2.0&&< 2.2.12.2.1org.apache.flink:flink-table-planner_2.12:2.2.1
☕Mavenorg.apache.flink:flink-table-api-java≥ 1.15.0&&< 1.20.41.20.4org.apache.flink:flink-table-api-java:1.20.4
☕Mavenorg.apache.flink:flink-table-api-java≥ 2.0.0&&< 2.0.22.0.2org.apache.flink:flink-table-api-java:2.0.2

Affected Products

1 product · 6 configurations
Application
flinkapache
≥ 2.1.0 && < 2.1.2
1 version
2.2.0

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.flink:flink-table-planner_2.12, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.apache.flink:flink-table-planner_2.12 to 1.20.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-2f54-v4hm-fx73 is resolved across your whole dependency graph.

  3. Workarounds

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

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, w
O3 Security · Impact-Aware SCA

Is GHSA-2f54-v4hm-fx73 in your dependencies?

Find it across Maven, including transitive dependencies.

GHSA-2f54-v4hm-fx73: RCE (High 8.1) | O3 Security