# CVE-2024-40585: Insertion of sensitive information into log file in FortiAnalyzer, FortiManager

- Vendor: Fortinet, FortiAnalyzer, FortiManager
- Severity: MEDIUM (CVSS 3.1 5.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-24-311, https://fortiguard.fortinet.com/psirt/FG-IR-24-311
- Published: 2025-03-14; updated: 2025-03-14
- Page: https://patchtonight.com/cve/CVE-2024-40585/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiAnalyzer 7.4 | 7.4.1 or later |
| FortiAnalyzer 7.2.0 to 7.2.3 | 7.2.4 or later |
| FortiAnalyzer 7.0.0 to 7.0.8 | 7.0.9 or later |
| FortiAnalyzer 6.4.0 to 6.4.12 | 6.4.13 or later |
| FortiAnalyzer 6.2.0 to 6.2.11 | 6.2.12 or later |
| FortiManager 7.4 | 7.4.1 or later |
| FortiManager 7.2.0 to 7.2.3 | 7.2.4 or later |
| FortiManager 7.0.0 to 7.0.8 | 7.0.9 or later |
| FortiManager 6.4.0 to 6.4.12 | Upgrade past 6.4.12; see the advisory |
| FortiManager 6.2.0 to 6.2.11 | Upgrade past 6.2.11; see the advisory |

## The vendor's description

An insertion of sensitive information into log file vulnerabilities [CWE-532] in FortiManager version 7.4.0, version 7.2.3 and below, version 7.0.8 and below, version 6.4.12 and below, version 6.2.11 and below and FortiAnalyzer version 7.4.0, version 7.2.3 and below, version 7.0.8 and below, version 6.4.12 and below, version 6.2.11 and below eventlog may allow any low privileged user with access to event log section to retrieve certificate private key and encrypted password logged as system log.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-24-311)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
