Medium

Apache Flink CDC is vulnerable to SQL Injection through maliciously crafted identifiers

  • Disclosed: 09.10.2025
  • Updated: 11.10.2026 12:22

Apache Flink CDC version 3.0.0 to before 3.5.0 are vulnerable to a SQL injection via maliciously crafted identifiers eg. crafted database name or crafted table name. Even through only the logged-in database user can trigger the attack, users are recommended to update Flink CDC version to 3.5.0 which address this issue.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.apache.flink:flink-cdc-pipeline-connectors >= 3.0.0, < 3.5.0 3.5.0
Java / Kotlin (Maven) org.apache.flink:flink-connector-db2-cdc >= 3.0.0, < 3.5.0 3.5.0
Java / Kotlin (Maven) org.apache.flink:flink-connector-mysql-cdc >= 3.0.0, < 3.5.0 3.5.0
Java / Kotlin (Maven) org.apache.flink:flink-connector-oracle-cdc >= 3.0.0, < 3.5.0 3.5.0
Java / Kotlin (Maven) org.apache.flink:flink-connector-sqlserver-cdc >= 3.0.0, < 3.5.0 3.5.0

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
Weakness (CWE)
CWE-89
Platform
Java / Kotlin (Maven)
Package
org.apache.flink:flink-cdc-pipeline-connectors, org.apache.flink:flink-connector-db2-cdc, org.apache.flink:flink-connector-mysql-cdc
Disclosed
09.10.2025
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-wqm3-w3p6-xjgm - CC BY 4.0

Vulnerability history: org.apache.flink:flink-cdc-pipeline-connectors

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.