GHSA-8vm2-c32j-mvfr
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request with crafted X-Forwarded-Host header
-
DeliveryNiFi reads unvalidated proxy header value
-
ExploitApplication constructs attacker-controlled qualified URL
-
ExecutionPoisoned redirect or data reference returned to client
-
ImpactClient 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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 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
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
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.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Blast Radius
ecosystem impact- 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
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.
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
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-38216
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB