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

Published Mar 11, 2025
·
Updated

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 Software

3 affected componentsFixes available
Apache nifi>=1.13.0<=2.2.0
maven/org.apache.nifi:nifi-mongodb-services>=1.13.0<2.3.0
2.3.0
Apache nifi>=1.13.0<2.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/org.apache.nifi:nifi-mongodb-services to a version that resolves this vulnerability.

    Fixed in 2.3.0
  2. Upgrade

    Upgrade Apache NiFi to a version that resolves this vulnerability.

    Fixed in 2.3.0Patch CVE-2025-27017

Event History

Mar 12, 2025
CVE Published
via MITRE·04:19 PM
Data Sourced
via MITRE·04:19 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:32 PM
Data Sourced
via GitHub·06:32 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-27017?

The severity of CVE-2025-27017 is considered high due to the exposure of sensitive MongoDB credentials.

2

How do I fix CVE-2025-27017?

To fix CVE-2025-27017, upgrade to Apache NiFi version 2.3.0 or later.

3

What versions of Apache NiFi are affected by CVE-2025-27017?

Apache NiFi versions from 1.13.0 to 2.2.0 are affected by CVE-2025-27017.

4

Can an unauthorized user exploit CVE-2025-27017?

CVE-2025-27017 requires authorized user access to provenance events, so unauthorized users cannot exploit it directly.

5

What data is exposed in CVE-2025-27017?

CVE-2025-27017 exposes MongoDB usernames and passwords within NiFi provenance events.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203