CVE-2025-62228
MEDIUM 5.1CVSS 4.0Apache Flink CDC is vulnerable to SQL Injection through maliciously crafted identifiers
Apache Flink CDC version 3.4.0 was 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, we recommend users update Flink CDC version to 3.5.0 which address this issue.
- Published
- 9 Oct 2025
- Last modified
- 8 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-wqm3-w3p6-xjgm
- Sources
- NVDJSONOSV GHSA-wqm3-w3p6-xjgmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@apache.org (Secondary) | CVSS 4.0 | MEDIUM 5.1 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:U/V:C/RE:L/U:Amber |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | flink_cdccpe:2.3:a:apache:flink_cdc:3.4.0:*:*:*:*:*:*:* |
= 3.4.0 | |
| OSV | Maven | org.apache.flink:flink-cdc-pipeline-connectors | >= 3.0.0, < 3.5.0 | 3.5.0 |
| OSV | Maven | org.apache.flink:flink-connector-oracle-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
| OSV | Maven | org.apache.flink:flink-connector-db2-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
| OSV | Maven | org.apache.flink:flink-connector-sqlserver-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
| OSV | Maven | org.apache.flink:flink-connector-mysql-cdc | >= 3.0.0, < 3.5.0 | 3.5.0 |
References
- https://lists.apache.org/thread/3dn0hc1wbc5sj0jbgdg33gtnwlw7qrl3 · Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/10/09/2 · Mailing List, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-62228 · ADVISORY
- https://github.com/apache/flink-cdc/pull/4123 · WEB
- https://github.com/apache/flink-cdc/commit/d5766187a9a4b191820e10238d4594ae665cdb89 · WEB
- https://github.com/apache/flink-cdc · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 9 Oct 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Oct 2025)