CVE-2026-54665: CWE-346 Origin Validation Error in Apache Software Foundation Apache NiFi
Apache NiFi 0.0.1 through 2.9.0 support building qualified URLs from one of several HTTP request headers that provide an alternative to the standard Host header without validating the values provided. Apache NiFi 1.6.0 introduced a configurable application property to restrict values provided in the HTTP Host header, but did not apply the validation to alternative Proxy and Forwarded headers. The absence of proxy host header validation allowed a client to instruct Apache NiFi web services to construct invalid qualified URLs for redirection or data references. Upgrading to Apache NiFi 2.10.0 is the recommended mitigation, which implements validation for the X-ProxyHost and X-Forwarded-Host HTTP request headers based on the nifi.web.proxy.host property. Enabling header validation requires configuring the application with HTTPS. Reverse proxy servers in front of Apache NiFi are responsible for filtering input request headers and providing allowed values to the application.
AI Analysis
Technical Summary
Apache NiFi versions from 0.0.1 up to but not including 2.10.0 support building qualified URLs from several HTTP request headers without validating values provided in alternative headers like X-ProxyHost and X-Forwarded-Host. While version 1.6.0 added validation for the Host header, it did not extend this to proxy-related headers, allowing clients to influence URL construction improperly. This origin validation error (CWE-346) can lead to the construction of invalid URLs used in redirection or data references. The issue is mitigated in Apache NiFi 2.10.0 by implementing validation for these headers based on the nifi.web.proxy.host property, which requires HTTPS configuration. Reverse proxy servers should filter and provide allowed header values to NiFi.
Potential Impact
The vulnerability allows an attacker to supply crafted HTTP headers that influence the construction of qualified URLs by Apache NiFi web services. This can result in invalid URLs being generated for redirection or data references, potentially leading to security issues related to URL trust and origin validation. The CVSS 4.0 score of 6.3 indicates a medium severity impact with network attack vector, low attack complexity, no privileges required, no user interaction, and limited impact on confidentiality and integrity, but some impact on availability and resource consumption.
Mitigation Recommendations
Upgrade Apache NiFi to version 2.10.0 or later, which implements validation for the X-ProxyHost and X-Forwarded-Host HTTP request headers based on the nifi.web.proxy.host property. This validation requires configuring the application with HTTPS. Additionally, ensure that reverse proxy servers in front of Apache NiFi filter input request headers and provide only allowed values to the application. Patch status is not explicitly confirmed in the advisory, but upgrading to 2.10.0 is the recommended mitigation.
CVE-2026-54665: CWE-346 Origin Validation Error in Apache Software Foundation Apache NiFi
Description
Apache NiFi 0.0.1 through 2.9.0 support building qualified URLs from one of several HTTP request headers that provide an alternative to the standard Host header without validating the values provided. Apache NiFi 1.6.0 introduced a configurable application property to restrict values provided in the HTTP Host header, but did not apply the validation to alternative Proxy and Forwarded headers. The absence of proxy host header validation allowed a client to instruct Apache NiFi web services to construct invalid qualified URLs for redirection or data references. Upgrading to Apache NiFi 2.10.0 is the recommended mitigation, which implements validation for the X-ProxyHost and X-Forwarded-Host HTTP request headers based on the nifi.web.proxy.host property. Enabling header validation requires configuring the application with HTTPS. Reverse proxy servers in front of Apache NiFi are responsible for filtering input request headers and providing allowed values to the application.
CVSS v4.0
Score 6.3medium
Affected software
pkg:maven/Apache Software Foundation/org.apache.nifi:nifi-jettyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Apache NiFi versions from 0.0.1 up to but not including 2.10.0 support building qualified URLs from several HTTP request headers without validating values provided in alternative headers like X-ProxyHost and X-Forwarded-Host. While version 1.6.0 added validation for the Host header, it did not extend this to proxy-related headers, allowing clients to influence URL construction improperly. This origin validation error (CWE-346) can lead to the construction of invalid URLs used in redirection or data references. The issue is mitigated in Apache NiFi 2.10.0 by implementing validation for these headers based on the nifi.web.proxy.host property, which requires HTTPS configuration. Reverse proxy servers should filter and provide allowed header values to NiFi.
Potential Impact
The vulnerability allows an attacker to supply crafted HTTP headers that influence the construction of qualified URLs by Apache NiFi web services. This can result in invalid URLs being generated for redirection or data references, potentially leading to security issues related to URL trust and origin validation. The CVSS 4.0 score of 6.3 indicates a medium severity impact with network attack vector, low attack complexity, no privileges required, no user interaction, and limited impact on confidentiality and integrity, but some impact on availability and resource consumption.
Mitigation Recommendations
Upgrade Apache NiFi to version 2.10.0 or later, which implements validation for the X-ProxyHost and X-Forwarded-Host HTTP request headers based on the nifi.web.proxy.host property. This validation requires configuring the application with HTTPS. Additionally, ensure that reverse proxy servers in front of Apache NiFi filter input request headers and provide only allowed values to the application. Patch status is not explicitly confirmed in the advisory, but upgrading to 2.10.0 is the recommended mitigation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-15T20:22:59.629Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a38edaaeed863c81e7bf7c0
Added to database: 06/22/2026, 08:09:14 UTC
Last enriched: 06/22/2026, 08:24:21 UTC
Last updated: 08/04/2026, 12:46:13 UTC
Views: 67
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.