Skip to main content

Apache NiFi EUVDEUVD-2026-38216

| CVE-2026-54665 MEDIUM
Origin Validation Error (CWE-346)
6.3
CVSS 4.0 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Send HTTP request with crafted X-Forwarded-Host header
  2. Delivery
    NiFi reads unvalidated proxy header value
  3. Exploit
    Application constructs attacker-controlled qualified URL
  4. Execution
    Poisoned redirect or data reference returned to client
  5. Impact
    Client follows attacker-controlled URL

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

The vulnerability is exploitable on any Apache NiFi 0.0.1-2.9.0 instance reachable over the network where an upstream reverse proxy does not strip or validate the X-ProxyHost or X-Forwarded-Host headers before forwarding requests to NiFi. No special NiFi configuration is required to be vulnerable - the absence of proxy header validation is the default behavior across all affected versions. No authentication is required to supply HTTP request headers; the attack can be performed at the pre-authentication stage (e.g., during login redirect construction). Factors that limit exploitation: (1) a reverse proxy that filters proxy host headers eliminates the attack surface; (2) NiFi instances not directly reachable by untrusted clients (e.g., internal-only deployments with network controls) face reduced exposure; (3) nifi.web.proxy.host must be populated in NiFi 2.10.0 for the fix to enforce allowlisting - leaving this property unconfigured post-upgrade may not fully mitigate the issue; (4) exploitation requires the application to process a URL-construction code path that reads the malicious header, meaning deeply buried API calls not involving redirect or link generation may not be affected.

Impact

No official CVSS score, EPSS probability, or SSVC decision data has been published for CVE-2026-54665 at time of analysis, so risk must be assessed from first principles. The attack is network-reachable with low complexity - crafting an HTTP header requires no special tooling - and no prior authentication is necessary to influence URL construction (pre-auth redirect flows are a common exploitation path for host header injection). CVE-2026-54665 is not listed in CISA KEV and no public POC has been identified, indicating no confirmed active exploitation. The practical impact is constrained: the vulnerability enables open-redirect manipulation and malformed data references rather than arbitrary code execution, data exfiltration, or denial of service. Organizations that already place a hardened reverse proxy (nginx, HAProxy, AWS ALB) in front of NiFi - as is standard for production deployments - and configure that proxy to strip or allowlist proxy host headers are effectively protected without any NiFi-side change. Direct internet exposure of NiFi's web port without a reverse proxy would represent the highest-risk deployment posture. Overall, this is a moderate-severity issue that warrants patching on a normal cycle rather than emergency response, unless the NiFi instance is directly internet-exposed.

Exploit ScenarioDerived

An attacker with network access to NiFi's web interface sends a crafted HTTP request containing a malicious value in the X-Forwarded-Host header (e.g., X-Forwarded-Host: attacker.example.com). NiFi accepts the unvalidated value and constructs a qualified redirect URL pointing to the attacker's domain, which is then returned in an HTTP Location header during a login or OAuth callback flow. A user following the poisoned redirect is sent to the attacker-controlled host, enabling credential harvesting or session token theft. No public POC code has been identified; the attack requires only standard HTTP client tooling.

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

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

Alert me

AnalysisAIv1 – Jun 22, 2026

Host header injection in Apache NiFi 0.0.1 through 2.9.0 enables network-accessible clients to supply arbitrary values via X-ProxyHost and X-Forwarded-Host HTTP headers, causing the application to construct attacker-controlled qualified URLs used in HTTP redirects and data references. Although NiFi introduced an allowlist-based Host header control (nifi.web.proxy.host) in version 1.6.0, that validation was never extended to the alternative proxy and forwarded headers, leaving a persistent gap across roughly a decade of releases. No public exploit code has been identified at time of analysis and CVE-2026-54665 is not listed in CISA KEV; practical risk centers on open-redirect abuse, link manipulation, and potential bypass of same-origin assumptions rather than direct code execution.

RemediationAI

Vendor-released patch: Apache NiFi 2.10.0. Upgrading to 2.10.0 is the primary and recommended fix; it implements validation of X-ProxyHost and X-Forwarded-Host headers against the existing nifi.web.proxy.host allowlist property. Note that activating this validation requires the application to be configured with HTTPS - HTTP-only deployments will not benefit from the header validation even after upgrading, so enabling TLS is a co-requisite. Operator steps: update the nifi-jetty dependency to 2.10.0, configure HTTPS per the NiFi Administration Guide, and explicitly populate the nifi.web.proxy.host property with the allowed proxy hostnames and ports. As a compensating control for organizations that cannot immediately upgrade, configure the upstream reverse proxy (nginx, HAProxy, Traefik, AWS ALB) to strip X-ProxyHost and X-Forwarded-Host request headers from untrusted clients and replace them with allowlisted values. This eliminates the attack surface entirely, independent of the NiFi version. Trade-off: stripping these headers means NiFi will fall back to the standard Host header for URL construction, which may break legitimate reverse-proxy deployments that rely on these headers for URL rewriting. The advisory references https://nifi.apache.org/ and the Jira fix is linked to GitHub Pull Request #11268.

Affected VersionsENISA

Apache NiFi 0.0.1 <2.10.0

Affected Packages

maven org.apache.nifi:nifi-jetty fix: 2.10.0
euvd apache_nifi fix: 2.10.0

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 embedded Jetty web server (org.apache.nifi:nifi-jetty) processes several non-standard HTTP headers - including X-ProxyHost, X-Forwarded-Host, and related forwarded headers - that allow reverse proxies and load balancers to communicate the original host to the application. NiFi uses these values to construct fully-qualified URLs for HTTP Location redirects, UI links, and inter-node replication references. Jetty 12 tightened constraints on the standard Host header in relation to TLS SNI and DNS SANs, but those constraints do not apply to the proxy/forwarded headers. The vulnerability's root cause is classic improper input validation (analogous to CWE-20): NiFi had a partial control in place (nifi.web.proxy.host allowlist since 1.6.0) but did not apply it to the X-ProxyHost and X-Forwarded-Host headers. No CWE has been formally assigned to this CVE. The affected Maven artifact is org.apache.nifi:nifi-jetty spanning versions 0.0.1 through 2.9.0. The fix in 2.10.0 gates the new header validation on an HTTPS configuration, meaning plain-HTTP deployments do not receive the validation benefit even after upgrading.

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 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/S:N/AU:Y/R:A/V:D/RE:L/U:Green
vuln.today AI 6.5 MEDIUM

Network-reachable without authentication via crafted HTTP headers; impact limited to URL/redirect manipulation, not data exfiltration or code execution, yielding C:L/I:L/A:N.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

2
Patch available
Jun 22, 2026 - 09:01 EUVD
CVSS changed
Jun 22, 2026 - 08:22 NVD
6.3 (MEDIUM)

Description PRE-NVD

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

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 7 maven packages depend on org.apache.nifi:nifi-jetty (5 direct, 2 indirect)

Ecosystem-wide dependent count for version 2.10.0.

Executive ViewAI

Why It Matters

Apache NiFi versions 0.0.1 through 2.9.0 contain a host header injection vulnerability allowing network clients to manipulate application-generated URLs used in redirects and data references, creating risk of phishing attacks and link injection that could compromise data flow integrity. The vulnerability spans a decade of releases due to incomplete proxy header validation implementation. Organizations running NiFi should treat this as actively exploitable given network accessibility to the attack vector and lack of vendor patch.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Block X-ProxyHost and X-Forwarded-Host HTTP headers at network boundary using WAF/reverse proxy; (2) For NiFi 1.6.0+, enforce nifi.web.proxy.host allowlist configured with only trusted internal proxy server IPs; (3) Implement network segmentation restricting NiFi access to trusted internal sources only; (4) Monitor application logs for suspicious Host header values; (5) Enforce strict Content-Security-Policy headers in downstream applications consuming NiFi-generated links to mitigate redirect attacks.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% 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.2%
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

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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