Apache NiFi fails to validate proxy host headers when constructing qualified URLs
Moderate severity
GitHub Reviewed
Published
Jun 22, 2026
to the GitHub Advisory Database
•
Updated Sep 11, 2026
Description
Published by the National Vulnerability Database
Jun 22, 2026
Published to the GitHub Advisory Database
Jun 22, 2026
Reviewed
Sep 11, 2026
Last updated
Sep 11, 2026
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.
References