SCA: security update for org.apache.flink:flink-table-api-java, org.apache.flink:flink-table-planner_2.12, org.apache.flink:flink-table-runtime (GHSA-2f54-v4hm-fx73)

high Tenable Self-Hosted Container Security Plugin ID 442325

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2026-35194)

Solution

Update the org.apache.flink:flink-table-api-java library and its related packages to version 1.20.4 or later.

See Also

https://github.com/advisories/GHSA-2f54-v4hm-fx73

Plugin Details

Severity: High

ID: 442325

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 5/25/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.6

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 8.5

Temporal Score: 6.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:N

CVSS Score Source: CVE-2026-35194

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/15/2026

Vulnerability Publication Date: 5/15/2026

Reference Information

CVE: CVE-2026-35194

cwe: CWE-94