PoC Monitor
← All CVEs
CVE-2026-35194published 15 May 2026 15:27 UTCData: JSON · API

Apache Software Foundation Apache Flink

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

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 public PoC 48 daysafter publication · 2 Jul 2026
Public PoCs11 on GitHub
CVSS8.1high · scored by CISA ADP · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Apache Software Foundation Apache Flink
  • >= 1.15.0, < 1.20.4,2.0.2,2.1.2,2.2.1

Fixed in 1.20.4,2.0.2,2.1.2,2.2.1

Mitigation

Upgrade Apache Flink to 1.20.4,2.0.2,2.1.2,2.2.1 or later.

References

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35+42+49CVE published15 May 2026 · t = 0First public PoC2 Jul 2026 · t+48d

First public PoC 48 days after publication; not in CISA KEV. First PoC: DexSemon/CVE-2026-35194 (created 2 Jul 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
DexSemon/CVE-2026-35194 2 Jul 2026 +48 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

DELETE /v1/sessions/{var}

Ports
8081, 8083
Seen in
1 repo: DexSemon/CVE-2026-35194
Evidence
DexSemon/CVE-2026-35194/exploit.py:250

POST /v1/sessions

Body markers
"properties" in application/json
Ports
8081, 8083
Seen in
1 repo: DexSemon/CVE-2026-35194
Evidence
DexSemon/CVE-2026-35194/exploit.py:92

POST /v1/sessions/{var}/statements

Body markers
"statement":""" in application/json
Ports
8081, 8083
Seen in
1 repo: DexSemon/CVE-2026-35194
Evidence
DexSemon/CVE-2026-35194/exploit.py:110

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

DELETE /v1/sessions/{var}
(?i)^/v1/sessions/[^/?#]*(?:[?#].*)?$
GET /v1/info
(?i)^/v1/info(?:[?#].*)?$
POST /v1/sessions
(?i)^/v1/sessions(?:[?#].*)?$
POST /v1/sessions/{var}/statements
(?i)^/v1/sessions/[^/?#]*/statements(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

DELETE /v1/sessions/{var}
alert http any any -> $HOME_NET [8081,8083] (msg:"GG PoC-Monitor CVE-2026-35194 Apache Software Foundation Apache Flink exploit attempt"; flow:established,to_server; http.method; content:"DELETE"; http.uri; content:"/v1/sessions/"; reference:url,poc.griffinguard.io/cve/CVE-2026-35194; classtype:web-application-attack; sid:9704512; rev:1;)
GET /v1/info
alert http any any -> $HOME_NET [8081,8083] (msg:"GG PoC-Monitor CVE-2026-35194 Apache Software Foundation Apache Flink exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/v1/info"; reference:url,poc.griffinguard.io/cve/CVE-2026-35194; classtype:web-application-attack; sid:9840348; rev:1;)
POST /v1/sessions
alert http any any -> $HOME_NET [8081,8083] (msg:"GG PoC-Monitor CVE-2026-35194 Apache Software Foundation Apache Flink exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/v1/sessions"; http.request_body; content:"|22|properties|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-35194; classtype:web-application-attack; sid:9414317; rev:1;)
POST /v1/sessions/{var}/statements
alert http any any -> $HOME_NET [8081,8083] (msg:"GG PoC-Monitor CVE-2026-35194 Apache Software Foundation Apache Flink exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/v1/sessions/"; http.uri; content:"/statements"; http.request_body; content:"|22|statement|22|:|22||22||22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-35194; classtype:web-application-attack; sid:9101702; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

DELETE /v1/sessions/{var}
title: Apache Software Foundation Apache Flink exploit attempt (CVE-2026-35194)
id: gg-pocmon-cve-2026-35194-9704512
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35194. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-35194
logsource:
  category: webserver
detection:
  selection:
    cs-method: DELETE
    cs-uri-stem|contains|all:
      - '/v1/sessions/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.35194
GET /v1/info
title: Apache Software Foundation Apache Flink exploit attempt (CVE-2026-35194)
id: gg-pocmon-cve-2026-35194-9840348
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35194. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-35194
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/v1/info'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.35194
POST /v1/sessions
title: Apache Software Foundation Apache Flink exploit attempt (CVE-2026-35194)
id: gg-pocmon-cve-2026-35194-9414317
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35194. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-35194
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/v1/sessions'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.35194
POST /v1/sessions/{var}/statements
title: Apache Software Foundation Apache Flink exploit attempt (CVE-2026-35194)
id: gg-pocmon-cve-2026-35194-9101702
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-35194. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-35194
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/v1/sessions/'
      - '/statements'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.35194