Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54665: CWE-346 Origin Validation Error in Apache Software Foundation Apache NiFi

0
Medium
VulnerabilityCVE-2026-54665cvecve-2026-54665cwe-346
Published: 06/22/2026 (06/22/2026, 07:34:13 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache NiFi

Description

Apache NiFi versions 0.0.1 through 2.9.0 allow building qualified URLs from HTTP request headers that are not properly validated. Although version 1.6.0 introduced validation for the Host header, alternative headers such as X-ProxyHost and X-Forwarded-Host were not validated, allowing potential construction of invalid URLs. This issue was addressed in version 2.10.0 by adding validation for these headers when HTTPS is configured. The vulnerability relates to improper origin validation (CWE-346) and can affect URL redirection or data references.

CVSS v4.0

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
Scope
N
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 software

Apache Software Foundation/org.apache.nifi:nifi-jetty
pkg:maven/Apache Software Foundation/org.apache.nifi:nifi-jetty
Affected versions
>=0.0.1 <2.10.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 08:24:21 UTC

Technical Analysis

Apache NiFi versions from 0.0.1 up to but not including 2.10.0 support building qualified URLs from several HTTP request headers without validating values provided in alternative headers like X-ProxyHost and X-Forwarded-Host. While version 1.6.0 added validation for the Host header, it did not extend this to proxy-related headers, allowing clients to influence URL construction improperly. This origin validation error (CWE-346) can lead to the construction of invalid URLs used in redirection or data references. The issue is mitigated in Apache NiFi 2.10.0 by implementing validation for these headers based on the nifi.web.proxy.host property, which requires HTTPS configuration. Reverse proxy servers should filter and provide allowed header values to NiFi.

Potential Impact

The vulnerability allows an attacker to supply crafted HTTP headers that influence the construction of qualified URLs by Apache NiFi web services. This can result in invalid URLs being generated for redirection or data references, potentially leading to security issues related to URL trust and origin validation. The CVSS 4.0 score of 6.3 indicates a medium severity impact with network attack vector, low attack complexity, no privileges required, no user interaction, and limited impact on confidentiality and integrity, but some impact on availability and resource consumption.

Mitigation Recommendations

Upgrade Apache NiFi to version 2.10.0 or later, which implements validation for the X-ProxyHost and X-Forwarded-Host HTTP request headers based on the nifi.web.proxy.host property. This validation requires configuring the application with HTTPS. Additionally, ensure that reverse proxy servers in front of Apache NiFi filter input request headers and provide only allowed values to the application. Patch status is not explicitly confirmed in the advisory, but upgrading to 2.10.0 is the recommended mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-06-15T20:22:59.629Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a38edaaeed863c81e7bf7c0

Added to database: 06/22/2026, 08:09:14 UTC

Last enriched: 06/22/2026, 08:24:21 UTC

Last updated: 06/22/2026, 09:03:03 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses