Skip to main content

Apache NiFi CVE-2026-44913

| EUVDEUVD-2026-38217 MEDIUM
Improper Encoding or Escaping of Output (CWE-116)
5.2
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker obtains low-privilege MySQL CREATE TABLE access in monitored schema
  2. Delivery
    Creates table with SQL-injecting identifier in name
  3. Exploit
    NiFi CaptureChangeMySQL Processor ingests CDC binary log event for crafted table
  4. Execution
    Processor interpolates unsanitized table name into metadata SQL query
  5. Persist
    Injected SQL executes under NiFi's MySQL service account credentials
  6. Impact
    Unauthorized 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache NiFi 1.2.0 ≤2.9.0

Affected Packages

maven org.apache.nifi:nifi-cdc-mysql-processors fix: 2.10.0
euvd apache_nifi no fix

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

Vendor (CNA) PRIMARY 5.2 MEDIUM
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
vuln.today AI 9.9 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:L

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
High
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

1
CVSS changed
Jun 22, 2026 - 08:22 NVD
5.2 (MEDIUM)

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

More in Nifi

View all
CVE-2023-34468 HIGH POC
8.8 Jun 12

The DBCPConnectionPool and HikariCPConnectionPool Controller Services in Apache NiFi 0.0.2 through 1.21.0 allow an authe

CVE-2019-10086 HIGH
7.3 Aug 20

In Apache Commons Beanutils 1.9.2, a special BeanIntrospector class was added which allows suppressing the ability for a

CVE-2017-5636 CRITICAL
9.8 Oct 19

In Apache NiFi before 0.7.2 and 1.x before 1.1.2 in a cluster environment, the proxy chain serialization/deserialization

CVE-2018-1309 CRITICAL
9.8 May 23

Apache NiFi External XML Entity issue in SplitXML processor. Rated critical severity (CVSS 9.8), this vulnerability is r

CVE-2021-20190 HIGH
8.1 Jan 19

A flaw was found in jackson-databind before 2.9.10.7. Rated high severity (CVSS 8.1), this vulnerability is remotely exp

CVE-2026-68981 HIGH
8.8 Aug 03

Uncontrolled decompression in Apache NiFi 1.5.0 through 2.10.0 exposes the REST API to unauthenticated denial-of-service

CVE-2023-36542 HIGH
8.8 Jul 29

Apache NiFi 0.0.2 through 1.22.0 include Processors and Controller Services that support HTTP URL references for retriev

CVE-2022-33140 HIGH
8.8 Jun 15

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

CVE-2019-12421 HIGH
8.8 Nov 19

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

CVE-2026-62354 HIGH
7.7 Aug 03

Authorization bypass in Apache NiFi 1.10.0 through 2.10.0 allows read-only authenticated users to submit Parameter Conte

CVE-2017-5635 HIGH
7.5 Oct 19

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

CVE-2017-7667 HIGH
7.5 Jun 12

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy