CVE-2025-66524: Apache NiFi - Insecure Deserialization
- Cve: CVE-2025-66524
- Name: Apache NiFi - Insecure Deserialization
- 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.
- Impact: Attackers with direct cache server access can execute arbitrary code, potentially leading to full system compromise.
- Remediation: Upgrade to Apache NiFi 2.7.0 or remove the GetAsanaObject Processor.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirements: Attacker needs direct access to the configured cache server
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00643
- Epss percentile: 0.51769
- Assignee: [email protected]
- Published at: 2025-12-19T10:15:48Z
- Age in days: 340
- Modified at: 2026-06-17T09:56:59Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-66524
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
References
| Url | Source | Tags |
|---|---|---|
| https://lists.apache.org/thread/k9h004ydjg7opdvxr0nfywtzf33z60d7 | nvd | Issue Tracking, Mailing List, Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2025/12/18/2 | nvd | Mailing List |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| apache:nifi | = 2.7.0 rc1; = 2.7.0 rc2; >= 1.20.0, < 2.7.0 | no | nvd | /v1/products/apache/nifi |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| apache/nifi | commit, package | yes | /v1/repositories/apache/nifi |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 246
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports