Skip to content
Heist/ feed
Back to feed
Medium

Apache NiFi: Missing Validation for Proxy Host Headers

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-54665
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:42 UTC · Revision 1

Source evidence

Apache NiFi: Missing Validation for Proxy Host Headers

core-osv · Original source

Published 22 Jun 2026, 07:34 UTC

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.

osv:CVE-2026-54665
Complete source record
{
  "id": "10af470d04d88d3aaa10025a3386df1a0fc66b6091063a3bb6d4ec171b14f913",
  "url": "https://osv.dev/vulnerability/CVE-2026-54665",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apache NiFi: Missing Validation for Proxy Host Headers",
    "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.",
    "evidence": "osv:CVE-2026-54665",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-54665",
      "aliases": [
        "BIT-nifi-2026-54665",
        "CVE-2026-54665",
        "GHSA-8vm2-c32j-mvfr"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/nifi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2baff691128fa782983fb79bb1087adff027a4c1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:nifi:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.0.1"
                      },
                      {
                        "fixed": "2.10.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "rel/nifi-1.2.0",
            "nifi-1.2.0-RC2",
            "docker/nifi-1.2.0",
            "rel/nifi-1.1.0",
            "nifi-1.1.0-RC2",
            "nifi-0.6.0-RC2",
            "nifi-0.6.0",
            "nifi-0.4.1-RC1",
            "nifi-0.4.1",
            "nifi-0.2.0-incubating-RC1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54665.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.281961750Z",
      "provider": "osv",
      "references": [
        "https://repo.maven.apache.org/maven2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54665.json",
        "https://lists.apache.org/thread/y0yoblon8f6dp00qz5r90cxq5n6g4j6k",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-54665"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-346"
        ],
        "cna_assigner": "apache",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0.0.1"
                  },
                  {
                    "fixed": "2.10.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54665.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-54665",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505801,
  "published_at": "2026-06-22T07:34:13.85+00:00"
}