Vulnerabilities in pkg:maven/org.apache.nifi/nifi-jetty

PACKAGE
Advisory Identifier: GHSA-8vm2-c32j-mvfr
Advisory Summary

CVE-2026-54665 is a MODERATE (CVSS 5.3) apache nifi fails to validate vulnerability (CWE-346: Origin Validation Error) affecting Nifi jetty libraries in the Maven ecosystem. The issue involves apache nifi fails to validate proxy host headers when constructing qualified urls. Remediation is available by upgrading affected packages to version 2.10.0.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.nifi/nifi-jetty

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.nifi/nifi-jetty. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-8vm2-c32j-mvfr CVE-2026-54665 MODERATE Apache NiFi fails to validate proxy host headers when constructing qualified URLs

CVE-2026-54665 at a Glance

CVE Identifier CVE-2026-54665
GHSA Identifier GHSA-8vm2-c32j-mvfr
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-346: Origin Validation Error
Affected Product Nifi jetty
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-54665

To remediate this vulnerability, upgrade all affected Nifi jetty dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.nifi:nifi-jetty fixed: 2.10.0
<dependency>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-jetty</artifactId>
    <version>2.10.0</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.nifi

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-54665, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.nifi

Analyze the terminal output to locate any version of Nifi jetty in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.10.0), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.nifi command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-346: Origin Validation Error, where the product does not properly verify that the source of data or communication is valid. In Nifi jetty, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-54665 Affected Nifi jetty Versions

1 component(s)
Fixed Versions:
2.10.0
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.nifi:nifi-jetty
Maven
< 2.10.0
2.10.0

References

Frequently Asked Questions

What is CVE-2026-54665?
CVE-2026-54665 is a security vulnerability in Nifi jetty involving Apache NiFi fails to validate proxy host headers when constructing qualified URLs under CWE-346: Origin Validation Error.
Which Nifi jetty versions are affected?
Affected versions include releases prior to 2.10.0 across affected packages: org.apache.nifi:nifi-jetty.
What version fixes CVE-2026-54665?
Upgrading to 2.10.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is nifi-jetty affected?
Yes, org.apache.nifi:nifi-jetty is affected in releases prior to 2.10.0. Upgrade your dependency to 2.10.0 or later.
What is the CVSS score of CVE-2026-54665?
CVE-2026-54665 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
What CWE is associated with CVE-2026-54665?
CVE-2026-54665 is classified under CWE-346: Origin Validation Error (The product does not properly verify that the source of data or communication is valid.).
How can I check Maven dependencies for CVE-2026-54665?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.nifi'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-8vm2-c32j-mvfr",
  "modified" : "2026-09-11T22:10:44Z",
  "published" : "2026-06-22T09:30:45Z",
  "aliases" : [ "CVE-2026-54665" ],
  "summary" : "Apache NiFi fails to validate proxy host headers when constructing qualified URLs",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
  }, {
    "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" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.nifi:nifi-jetty"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.10.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54665"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/nifi/commit/41625c4433898922b0a3e7635f597cb4ef197c28"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/nifi"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/y0yoblon8f6dp00qz5r90cxq5n6g4j6k"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2026/06/20/7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-346" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-09-11T22:10:44Z",
    "nvd_published_at" : "2026-06-22T08:17:07Z"
  }
}