CVE-2025-27017
Java vulnerability analysis and mitigation

Overview

Apache NiFi versions 1.13.0 through 2.2.0 contain a security vulnerability (CVE-2025-27017) where MongoDB authentication credentials are exposed in NiFi provenance events. The vulnerability was discovered by Robert Creese and publicly disclosed on March 11, 2025. This issue affects the data flow automation tool that is widely used for cybersecurity, observability, event streams, and generative AI applications (Security Online, OSS Security).

Technical details

The vulnerability is classified as CWE-538 (Insertion of Sensitive Information into Externally-Accessible File or Directory). It has received a CVSS 4.0 Base Score of 6.9 (Medium) with the vector string CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/S:P/AU:Y/R:U/V:C/RE:L/U:Green. The issue specifically involves the inclusion of MongoDB usernames and passwords in NiFi provenance events, which are generated during processing by MongoDB components (NVD Database).

Impact

The vulnerability allows authorized users with read access to provenance events to view MongoDB authentication credentials. This exposure could potentially lead to unauthorized access to sensitive data stored in the MongoDB database if the credentials are compromised (Security Online).

Exploitability

The vulnerability requires an attacker to have authorized access to the NiFi system with read permissions for provenance events. While this limits the potential attack surface, it represents a significant risk for organizations where multiple users have access to the NiFi system (NVD Database).

Mitigation and workarounds

The recommended mitigation is to upgrade to Apache NiFi version 2.3.0, which removes the credentials from provenance event records. This version has been specifically patched to address the vulnerability and prevent credential exposure (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-10050HIGH8.7
  • Java logoJava
  • jenkins
NoYesAug 04, 2026
CVE-2026-48048HIGH7.5
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-livetable-ui
NoYesAug 10, 2026
CVE-2026-56818MEDIUM6.5
  • Java logoJava
  • netty-javadoc
NoYesAug 07, 2026
CVE-2026-48047MEDIUM5.9
  • Java logoJava
  • org.xwiki.platform:xwiki-platform-webjars-api
NoYesAug 07, 2026
CVE-2026-71497MEDIUM4.7
  • Java logoJava
  • javapackages-tools:201801::maven-wagon-http-lightweight
NoYesAug 06, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management