A AegiFlow
MEDIUMCVSS 6.3EPSS 0.3%

CVE-2026-54665

Apache NiFi fails to validate proxy host headers when constructing qualified URLs

Published
2026-06-22
Modified
2026-09-11
EPSS percentile
26%
Aliases
GHSA-8vm2-c32j-mvfr
Sources
github-advisory

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
Mavenorg.apache.nifi:nifi-jetty2.10.0

Remediation: Upgrade to 2.10.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.