high8.8
CVE-2025-62228
Apache Flink CDC is vulnerable to SQL Injection through maliciously crafted identifiers
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | org.apache.flink:flink-cdc-pipeline-connectors | >= 3.0.0, < 3.5.0 | 3.5.0 |
| maven | org.apache.flink:flink-connector-oracle-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
| maven | org.apache.flink:flink-connector-db2-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
| maven | org.apache.flink:flink-connector-sqlserver-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
| maven | org.apache.flink:flink-connector-mysql-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Flink Cdc | Version 3.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://lists.apache.org/thread/3dn0hc1wbc5sj0jbgdg33gtnwlw7qrl3
- http://www.openwall.com/lists/oss-security/2025/10/09/2
- https://github.com/advisories/GHSA-wqm3-w3p6-xjgm
- https://nvd.nist.gov/vuln/detail/CVE-2025-62228
- https://github.com/apache/flink-cdc/pull/4123
- https://github.com/apache/flink-cdc/commit/d5766187a9a4b191820e10238d4594ae665cdb89