Evidence used
- No CISA KEV confirmation is currently recorded.
- EPSS is 0.66% for the current model date.
BlackTreeCVE IntelligenceApache Software Foundation · Apache Flink
High technical severity; prioritise exposed affected systems while verifying vendor guidance.
These OSV and GitHub advisory ranges apply only to the named package and ecosystem. A listed fixed version is not a universal product patch or proof that an update is installed.
| Ecosystem and package | Affected range | First fixed version | Evidence |
|---|---|---|---|
| mavenorg.apache.flink:flink-table-api-java | >= 1.15.0, < 1.20.4 | 1.20.4 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-api-java | >= 2.0.0, < 2.0.2 | 2.0.2 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-api-java | >= 2.1.0, < 2.1.2 | 2.1.2 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-api-java | >= 2.2.0, < 2.2.1 | 2.2.1 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-planner_2.12 | >= 1.15.0, < 1.20.4 | 1.20.4 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-planner_2.12 | >= 2.0.0, < 2.0.2 | 2.0.2 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-planner_2.12 | >= 2.1.0, < 2.1.2 | 2.1.2 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-planner_2.12 | >= 2.2.0, < 2.2.1 | 2.2.1 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-runtime | >= 1.15.0, < 1.20.4 | 1.20.4 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-runtime | >= 2.0.0, < 2.0.2 | 2.0.2 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-runtime | >= 2.1.0, < 2.1.2 | 2.1.2 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
| mavenorg.apache.flink:flink-table-runtime | >= 2.2.0, < 2.2.1 | 2.2.1 | GitHub advisory ↗github reviewed aggregator · 22 May 2026 |
High technical severity; prioritise exposed affected systems while verifying vendor guidance.
Fix not verifiedCode 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.
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.
Untrusted data can cross into a code-evaluation path and be interpreted as executable instructions.
An attacker operating through a network path may attempt exploitation with low privileges. If successful, the issue may execute code or commands in the affected security context.
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.
Untrusted data can cross into a code-evaluation path and be interpreted as executable instructions.
An attacker operating through a network path may attempt exploitation with low privileges. If successful, the issue may execute code or commands in the affected security context.
CVSS severity, EPSS forecast probability, public exploit material and CISA-confirmed exploitation are separate signals.
No CISA KEV match was present at the last successful refresh. This means no confirmation from that source, not proof of no exploitation.
No exploit-tagged reference or CISA SSVC proof-of-concept state is currently recorded. Research may still exist outside the structured feeds.
CWE-94: Improper Control of Generation of Code ('Code Injection'). The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NCommon Vulnerability Scoring System 3.1: the compact vector below is decoded into plain language.
Operational remediation based on structured source evidence.
Published 15 May 2026 · Last source change 15 May 2026, 21:23 UTC · CWE-94 · Improper Control of Generation of Code ('Code Injection')
Core structured fields are present and their contributing authorities are shown above.
No material field changes have been recorded since change tracking began. Routine source refreshes and cosmetic edits are intentionally excluded.