Vulnerabilities in pkg:maven/org.apache.nifi/nifi-jetty
PACKAGECVE-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.
pkg:maven/org.apache.nifi/nifi-jetty
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
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).
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.
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-jetty</artifactId>
<version>2.10.0</version>
</dependency>
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
CVE-2026-54665 Affected Nifi jetty Versions
1 component(s)| 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?
Which Nifi jetty versions are affected?
What version fixes CVE-2026-54665?
Is nifi-jetty affected?
What is the CVSS score of CVE-2026-54665?
What CWE is associated with CVE-2026-54665?
How can I check Maven dependencies for CVE-2026-54665?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}