CVE-2025-66524: Apache NiFi · Deserialization of Untrusted Data
Affects Apache NiFiSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 48% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:Y/R:U/V:C/RE:L/U:GreenExploitation evidence
Disclosed: evidence found.
CVE published 19 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.apache.nifi/nifipkg:maven/org.apache.nifi/nifiOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate CVE-2025-66524, organizations should take the following specific actions: 1) Upgrade Apache NiFi to version 2.7.0 or later, where the vulnerable Java object serialization is replaced with safer JSON serialization, effectively eliminating the deserialization risk. 2) If immediate upgrade is not feasible, remove or disable the GetAsanaObject Processor by uninstalling the nifi-asana-processors-nar bundle to prevent the vulnerable code from executing. 3) Restrict and tightly control access to the Distributed Map Cache Client Service and its cache servers, ensuring they are not exposed to untrusted networks or users. Implement network segmentation and firewall rules to limit access only to authorized NiFi components and administrators. 4) Monitor cache server logs and NiFi audit trails for unusual or unauthorized access patterns that could indicate attempted exploitation. 5) Conduct internal security assessments and penetration tests focusing on NiFi deployments to identify any exposure of cache servers or misconfigurations. 6) Educate system administrators and DevOps teams about the risks of untrusted deserialization and the importance of applying security updates promptly. 7) Review and harden NiFi configurations to minimize attack surface, including disabling unused processors and services.
Description
Apache NiFi 1.20.0 through 2.6.0 include the GetAsanaObject Processor, which requires integration with a configurable Distribute Map Cache Client Service for storing and retrieving state information. The GetAsanaObject Processor used generic Java Object serialization and deserialization without filtering. Unfiltered Java object deserialization does not provide protection against crafted state information stored in the cache server configured for GetAsanaObject. Exploitation requires an Apache NiFi system running with the GetAsanaObject Processor, and direct access to the configured cache server. Upgrading to Apache NiFi 2.7.0 is the recommended mitigation, which replaces Java Object serialization with JSON serialization. Removing the GetAsanaObject Processor located in the nifi-asana-processors-nar bundle also prevents exploitation.