Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-35194

34
FAUCET Score

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.

First published: May 15, 2026Last modified: May 15, 2026

Impacted Technologies

VendorProductVersion(s)CPE
>= 1.15.0, < 1.20.4CPE matchmatch criteria
cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.0.2CPE matchmatch criteria
cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*
>= 2.1.0, < 2.1.2CPE matchmatch criteria
cpe:2.3:a:apache:flink:*:*:*:*:*:*:*:*
2.2.0CPE matchmatch criteria
cpe:2.3:a:apache:flink:2.2.0:-:*:*:*:*:*:*
2.2.0CPE matchmatch criteria
cpe:2.3:a:apache:flink:2.2.0:rc1:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.1HIGH

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

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
NONE
Exploitability Score
2.8
Impact Score
5.2
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.38%
Probability of exploitation in next 30 days
EPSS Percentile
30.7%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0038 is in the 19th percentile among its peer group of 17,829 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (13)

mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-planner_2.12Fixed in: 1.20.4
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-planner_2.12Fixed in: 2.0.2
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-planner_2.12Fixed in: 2.1.2
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-planner_2.12Fixed in: 2.2.1
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-api-javaFixed in: 1.20.4
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-api-javaFixed in: 2.0.2
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-api-javaFixed in: 2.1.2
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-api-javaFixed in: 2.2.1
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-runtimeFixed in: 1.20.4
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-runtimeFixed in: 2.0.2
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-runtimeFixed in: 2.1.2
mavenpatch availablevia ghsa
Product: org.apache.flink:flink-table-runtimeFixed in: 2.2.1
apachevendor investigatingvia vendor_rss
View patch

Vendor Advisories (2)

mavenGHSA-2f54-v4hm-fx73high

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

May 15, 2026
apacheapache:www.mail-archive.com/[email protected]/msg11092.html

CVE-2026-35194: Apache Flink: Remote code execution via SQL injection in code generation

May 15, 2026

References

openwall.com / lists/oss-security/2026/05/15/20
Mailing ListThird Party Advisory
lists.apache.org / thread/qh52bw4hhvy7n2owd8b3bt51mz0lvj9x
Mailing ListVendor Advisory