Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35194: CWE-94 Improper Control of Generation of Code ('Code Injection') in Apache Software Foundation Apache Flink

0
High
VulnerabilityCVE-2026-35194cvecve-2026-35194cwe-94
Published: Fri May 15 2026 (05/15/2026, 15:27:27 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Flink

Description

CVE-2026-35194 is a code injection vulnerability in Apache Flink versions 1. 15. 0 through 1. 20. x and 2. 0. 0 through 2. x. It allows authenticated users with query submission privileges to execute arbitrary code on TaskManagers by submitting malicious SQL queries. The issue arises from improper escaping of user-controlled strings in generated Java code, specifically affecting JSON functions and LIKE expressions with ESCAPE clauses.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/15/2026, 16:21:51 UTC

Technical Analysis

This vulnerability (CVE-2026-35194) in Apache Flink involves improper control of code generation (CWE-94) during SQL code generation. Authenticated users who can submit queries can craft SQL statements that inject arbitrary Java code executed on TaskManagers. The flaw is due to user input being interpolated into generated Java code without proper escaping, allowing attackers to break out of string literals and inject malicious expressions. Affected versions include 1.15.0 through 1.20.x and 2.0.0 through 2.x, with specific impact on JSON functions (from 1.15.0) and LIKE expressions with ESCAPE clauses (from 1.17.0).

Potential Impact

Successful exploitation allows authenticated users with query submission privileges to execute arbitrary code on Apache Flink TaskManagers. This can lead to unauthorized code execution within the Flink environment, potentially compromising the integrity and availability of the system processing data streams.

Mitigation Recommendations

Users should upgrade Apache Flink to one of the fixed versions: 1.20.4, 2.0.2, 2.1.2, or 2.2.1. These versions contain the official fixes for this vulnerability. No other mitigation or temporary workaround is indicated in the provided data. Patch status is confirmed by the vendor advisory recommending these upgrades.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-04-01T18:39:08.929Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a074490ec166c07b0660923

Added to database: 5/15/2026, 4:06:40 PM

Last enriched: 5/15/2026, 4:21:51 PM

Last updated: 5/15/2026, 5:07:19 PM

Views: 42

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses