GHSA-chxj-gxww-q98w
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/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:P/AU:Y/R:U/V:C/RE:L/U:Clear
Attacker needs network-reachable MySQL with low-privilege CREATE TABLE access; scope change applies because injected SQL executes under NiFi's service account, crossing the security boundary of the vulnerable component.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Blast Radius
ecosystem impact- 2 maven packages depend on org.apache.nifi:nifi-cdc-mysql-processors (1 direct, 1 indirect)
Ecosystem-wide dependent count for version 1.2.0.
Description PRE-NVD
AnalysisAI
SQL injection via improperly escaped MySQL table names in Apache NiFi's CaptureChangeMySQL Processor (versions 1.2.0 through 2.9.0) allows an attacker with MySQL CREATE TABLE access in a monitored database to inject arbitrary SQL commands executed under NiFi's MySQL service credentials. A partial mitigation introduced in 1.8.0 added manual quoted boundaries that narrowed - but did not eliminate - the injection surface; the root flaw persisted for years until full remediation in 2.10.0. No public exploit identified at time of analysis and not listed in CISA KEV; the issue was discovered by Roberto Suggi Liverani of the NATO Cyber Security Centre (NCSC) and disclosed in April 2026.
Technical ContextAI
Apache NiFi's CaptureChangeMySQL Processor implements Change Data Capture (CDC) by consuming MySQL binary logs to detect and relay row-level database changes downstream. As part of processing each CDC event, the processor constructs SQL metadata queries against the MySQL instance (e.g., selecting the database, querying table schema) using table names extracted directly from those binary log events. Because MySQL table names are user-controlled artifacts - any account with CREATE TABLE privilege can define them - an attacker can embed SQL metacharacters in a table name. The processor interpolates this name into SQL string construction without adequate identifier quoting or parameterized handling, producing a classic SQL injection condition (analogous to CWE-89: Improper Neutralization of Special Elements used in an SQL Command, and CWE-116: Improper Encoding or Escaping of Output). NiFi 1.8.0 added manual backtick-style quoted boundaries as a partial countermeasure, but this approach did not account for all injection strategies such as quote escaping or alternate delimiter sequences. The fix in 2.10.0, tracked as NIFI-15905 and implemented via GitHub PR #11206, refactors the processor to use properly qualified table name handling with robust identifier escaping throughout. The affected Maven artifact is org.apache.nifi:nifi-cdc-mysql-processors.
RemediationAI
Upgrade to Apache NiFi 2.10.0, the vendor-released patch that incorporates robust SQL identifier escaping in the CaptureChangeMySQL Processor, as confirmed by JIRA NIFI-15905 (resolved 2026-05-05, Fix Version 2.10.0) at https://issues.apache.org/jira/browse/NIFI-15905 and implemented via GitHub PR #11206. If immediate upgrade is not possible, disabling or removing all CaptureChangeMySQL Processor instances from active NiFi flows eliminates the attack surface entirely per the advisory - at the cost of losing MySQL CDC pipeline functionality until upgrade is completed. As a defense-in-depth measure regardless of upgrade status, restrict MySQL CREATE TABLE privileges in databases monitored by NiFi to only fully trusted accounts, and ensure NiFi's MySQL service account is scoped to the minimum CDC-required permissions (REPLICATION CLIENT, REPLICATION SLAVE, SELECT) to limit the impact of any successful injection. Consult the Apache NiFi project site at https://nifi.apache.org/ for upgrade documentation and release notes.
The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authe
In Apache Commons Beanutils 1.9.2, a special BeanIntrospector class was added which allows suppressing the ability for a
In Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, the proxy chain serialization/deserialization
Apache NiFi External XML Entity issue in SplitXML processor. Rated critical severity (CVSS 9.8), this vulnerability is r
A flaw was found in jackson-databind before 2.9.10.7. Rated high severity (CVSS 8.1), this vulnerability is remotely exp
Uncontrolled decompression in Apache NiFi 1.5.0 through 2.10.0 exposes the REST API to unauthenticated denial-of-service
Apache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retriev
The optional ShellUserGroupProvider in Apache NiFi 1.10.0 to 1.16.2 and Apache NiFi Registry 0.6.0 to 1.16.2 does not ne
When using an authentication mechanism other than PKI, when the user clicks Log Out in NiFi versions 1.0.0 to 1.9.2, NiF
Authorization bypass in Apache NiFi 1.10.0 through 2.10.0 allows read-only authenticated users to submit Parameter Conte
In Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, if an anonymous user request is replicated to
Apache NiFi before 0.7.4 and 1.x before 1.3.0 need to establish the response header telling browsers to only allow frami
Same weakness CWE-116 – Improper Encoding or Escaping of Output
View allSame technique Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38217