Apache NiFi 1.13.0-2.2.0 Reveals MongoDB Creds in Provenance
CVE-2025-27017 Published on March 12, 2025
Apache NiFi 1.13.0 through 2.2.0 includes the username and password used to authenticate with MongoDB in the NiFi provenance events that MongoDB components generate during processing. An authorized user with read access to the provenance events of those processors may see the credentials information. Upgrading to Apache NiFi 2.3.0 is the recommended mitigation, which removes the credentials from provenance event records.
Weakness Type
Insertion of Sensitive Information into Externally-Accessible File or Directory
The product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information.
Products Associated with CVE-2025-27017
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2025-27017 are published in Apache NiFi:
Affected Versions
Apache Software Foundation Apache NiFi:- Version 1.13.0, <= 2.2.0 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.