CVE-2025-62228: Apache Flink CDC is vulnerable to SQL Injection through maliciously crafted identifiers
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.
Published Oct 9, 2025 · Updated Nov 5, 2025
Affected packages
org.apache.flink:flink-cdc-pipeline-connectors
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.5.0
- Fixed in
- 3.5.0
- Check
mvn dependency:tree -Dincludes=org.apache.flink:flink-cdc-pipeline-connectors
org.apache.flink:flink-connector-oracle-cdc
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.5.0
- Fixed in
- 3.5.0
- Check
mvn dependency:tree -Dincludes=org.apache.flink:flink-connector-oracle-cdc
org.apache.flink:flink-connector-db2-cdc
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.5.0
- Fixed in
- 3.5.0
- Check
mvn dependency:tree -Dincludes=org.apache.flink:flink-connector-db2-cdc
org.apache.flink:flink-connector-sqlserver-cdc
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.5.0
- Fixed in
- 3.5.0
- Check
mvn dependency:tree -Dincludes=org.apache.flink:flink-connector-sqlserver-cdc
org.apache.flink:flink-connector-mysql-cdc
- Ecosystem
- Maven
- Affected
- >= 3.0.0, < 3.5.0
- Fixed in
- 3.5.0
- Check
mvn dependency:tree -Dincludes=org.apache.flink:flink-connector-mysql-cdc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
