CVE-2025-27017 Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record

Medium 6.9 Published Updated

Authorized users can view MongoDB credentials in NiFi provenance events, exposing sensitive authentication data.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-27017?

CVE-2025-27017 is a medium-severity vulnerability in Apache Nifi, published on 12 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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: CWE-538

Which versions are affected by CVE-2025-27017?

2 open source packages ship an affected version, including org.apache.nifi:nifi-mongodb-services. It affects 1 product.

PackageAffectedFixed in
org.apache.nifi:nifi-mongodb-services MavenFrom 1.13.02.3.0
org.apache.nifi:nifi-mongodb-services MavenFrom 1.13.02.3.0

Products include Apache Nifi.

How do I fix CVE-2025-27017?

Upgrade org.apache.nifi:nifi-mongodb-services to 2.3.0 or later.

Is CVE-2025-27017 being exploited?

There is no known exploitation of CVE-2025-27017 in the wild and no public exploit code.

All Apache Nifi vulnerabilities

Sources

Also known as GHSA-35gq-cvrm-xf94.

Is CVE-2025-27017 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free