Apache NiFi user log out issue
When using an authentication mechanism other than PKI, when the user clicks Log Out in NiFi versions 1.0.0 to 1.9.2, NiFi invalidates the authentication token on the client side but not on the server side. This permits the user's client-side token to be used for up to 12 hours after logging out to make API requests to NiFi.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.nifi:nifi-web-api | >= 1.3.0, < 1.10.0 | 1.10.0 |
| Java / Kotlin (Maven) | org.apache.nifi:nifi-web-security | >= 1.3.0, < 1.10.0 | 1.10.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12421
- https://github.com/apache/nifi/pull/3362
- https://github.com/apache/nifi/commit/cf6f5172503ce438c6c22c334c9367f774db7b24
- https://lists.apache.org/thread.html/rca37935d661f4689cb4119f1b3b224413b22be161b678e6e6ce0c69b@%3Ccommits.nifi.apache.org%3E
- https://nifi.apache.org/security.html#CVE-2019-12421
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-613- Platform
- Java / Kotlin (Maven)
- Package
org.apache.nifi:nifi-web-api, org.apache.nifi:nifi-web-security- Disclosed
- 02.12.2019
- Updated
- 11.10.2026 11:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-fmqw-vqh5-cwq9 - CC BY 4.0
Vulnerability history: org.apache.nifi:nifi-web-api
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 12.2019 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 3
- Medium 1
- Low 2
Disclosures per year
- 2019: 2
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 3
-
Apache NiFi user log out issue this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.