GHSA-chxj-gxww-q98w
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker obtains low-privilege MySQL CREATE TABLE access in monitored schema
-
DeliveryCreates table with SQL-injecting identifier in name
-
ExploitNiFi CaptureChangeMySQL Processor ingests CDC binary log event for crafted table
-
ExecutionProcessor interpolates unsanitized table name into metadata SQL query
-
PersistInjected SQL executes under NiFi's MySQL service account credentials
-
ImpactUnauthorized data read or modification within NiFi's MySQL privilege scope
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
|
| Exploitation Conditions | Exploitation requires all of the following concurrent conditions: (1) an Apache NiFi instance with at least one CaptureChangeMySQL Processor actively deployed and enabled in a running data flow - installations without this processor are entirely unexposed; (2) the attacker must possess MySQL credentials with sufficient privileges to CREATE TABLE in a schema that is actively monitored by that NiFi processor; (3) NiFi must hold CDC-level MySQL access (REPLICATION CLIENT and REPLICATION SLAVE) to the target MySQL instance so that binary log events for the crafted table are consumed. Limiting factors: the attacker cannot exploit this remotely against vanilla NiFi without pre-existing MySQL access; the processor must be configured to monitor the specific database where the attacker creates the crafted table; and the blast radius of injected SQL is bounded by NiFi's MySQL service account permissions - a narrowly scoped read-only CDC account substantially reduces impact. Non-default deployment of the CaptureChangeMySQL Processor is a mandatory prerequisite. |
| Impact | No CVSS vector or EPSS score is available from any source in this dataset, requiring all metric assessments to be inferred from the description, JIRA metadata, and contextual signals. The Apache JIRA ticket (NIFI-15905) assigns the issue a priority of Minor and type of Improvement - consistent with a vulnerability that requires non-trivial attacker prerequisites rather than trivial remote exploitation. The key limiting factor is that exploitation mandates both an active CaptureChangeMySQL Processor deployment and attacker-controlled MySQL CREATE TABLE access in a monitored schema, which substantially narrows the realistic attack population. In multi-tenant MySQL environments or where NiFi monitors externally-contributed schemas, that prerequisite may be achievable. The injected SQL executes under NiFi's MySQL service account; if that account follows least-privilege CDC scoping (REPLICATION CLIENT/SLAVE plus SELECT), the blast radius is bounded - but if the service account holds broader DML or DDL rights, impact escalates significantly. The absence of public exploit code and CISA KEV listing, combined with the Minor JIRA priority and the multi-year latency before disclosure, suggests this has not seen active exploitation. Real-world risk is moderate and deployment-context-dependent: high for NiFi pipelines monitoring shared or untrusted MySQL schemas, negligible for installations without CaptureChangeMySQL in use. |
| Exploit ScenarioDerived | An attacker holding a low-privileged MySQL account in a schema monitored by an active NiFi CaptureChangeMySQL Processor creates a table whose name contains SQL metacharacters designed to break out of the identifier context - for example, a backtick-escaped sequence followed by injected SQL statements. When NiFi's processor next polls the MySQL binary log and encounters the CDC event for that table, it constructs a metadata SQL query by interpolating the raw table name, causing the injected fragment to execute under NiFi's MySQL service credentials. Depending on NiFi's MySQL account permissions, the attacker could read data beyond their own privilege scope, modify records, or drop schema objects. No public proof-of-concept code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Nifi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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/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
1Description PRE-NVD
Executive ViewAI
CVE-2026-44913 is a critical SQL injection vulnerability in Apache NiFi's CaptureChangeMySQL Processor (versions 1.2.0-2.9.0) that enables database-privileged attackers to execute arbitrary SQL commands under NiFi's service credentials. Organizations using NiFi for MySQL monitoring face significant risk of data theft and unauthorized database access, with no public exploit identified at time of analysis. A vendor patch is available and must be deployed immediately to affected systems.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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
EUVD-2026-38217
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB