CVE-2025-27017
Apache NiFi: Potential Insertion of MongoDB Password in Provenance Record
Also known as GHSA-35gq-cvrm-xf94
Mitigation
- Upgrade org.apache.nifi:nifi-mongodb-services to 2.3.0 or later.
Who should check
- Projects that depend on Maven package org.apache.nifi:nifi-mongodb-services (>= 1.13.0, < 2.3.0)
- Anyone running Apache Software Foundation Apache NiFi >= 1.13.0, <= 2.2.0
Vulnerability facts
- Affected
- org.apache.nifi:nifi-mongodb-services >= 1.13.0, < 2.3.0
- Fixed in
- 2.3.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.9 (v4.0, CNA)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:GreenOpen in CVSS calculator
Show all 17 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: High
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: None
- Availability impact on other systems: None
- S: P
- AU: Y
- R: U
- V: C
- RE: L
- U: Green
- EPSS
- 0.97% chance of exploitation in 30 days (percentile 60, 2026-11-26)
- CWE
- CWE-538
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.nifi:nifi-mongodb-services | >= 1.13.0, < 2.3.0 | 2.3.0 | osv |
| Apache Software Foundation Apache NiFi | >= 1.13.0, <= 2.2.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-27017. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-27017.md Affected: org.apache.nifi:nifi-mongodb-services >= 1.13.0, < 2.3.0 Fixed in: 2.3.0 Steps: 1. Search this machine and project for org.apache.nifi:nifi-mongodb-services (Maven), Apache Software Foundation Apache NiFi: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2025-27017 being exploited?
There is no confirmed exploitation: CVE-2025-27017 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.97% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-27017?
Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2025-27017?
org.apache.nifi:nifi-mongodb-services >= 1.13.0, < 2.3.0.
Is there a fix for CVE-2025-27017?
Yes. Fixed in 2.3.0. Upgrade org.apache.nifi:nifi-mongodb-services to 2.3.0 or later.
How do I check if I'm affected by CVE-2025-27017?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.