# CVE-2024-40588: Multiple relative path traversal in FortiCamera, FortiNDR and others

- Vendor: Fortinet, FortiCamera, FortiNDR, FortiMail, FortiRecorder, FortiVoice
- Severity: MEDIUM (CVSS 3.1 4.2)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-24-309, https://fortiguard.fortinet.com/psirt/FG-IR-24-309
- Published: 2025-08-12; updated: 2026-01-14
- Page: https://patchtonight.com/cve/CVE-2024-40588/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiCamera 2.1.0 to 2.1.4 | Upgrade past 2.1.4; see the advisory |
| FortiCamera 2.0 | 2.0.1 (upcoming) or later |
| FortiCamera 1.1.0 to 1.1.5 | Upgrade past 1.1.5; see the advisory |
| FortiCamera 1.0.3 to 1.0.5 | Upgrade past 1.0.5; see the advisory |
| FortiNDR 7.6.0 to 7.6.1 | 7.6.2 or later |
| FortiNDR 7.4.0 to 7.4.6 | 7.4.7 or later |
| FortiNDR 7.2.0 to 7.2.5 | Upgrade past 7.2.5; see the advisory |
| FortiNDR 7.1.0 to 7.1.1 | Upgrade past 7.1.1; see the advisory |
| FortiNDR 7.0.0 to 7.0.7 | Upgrade past 7.0.7; see the advisory |
| FortiMail 7.6.0 to 7.6.1 | 7.6.2 or later |
| FortiMail 7.4.0 to 7.4.3 | 7.4.4 or later |
| FortiMail 7.2.0 to 7.2.9 | Upgrade past 7.2.9; see the advisory |
| FortiMail 7.0.0 to 7.0.9 | Upgrade past 7.0.9; see the advisory |
| FortiMail 6.4.0 to 6.4.8 | Upgrade past 6.4.8; see the advisory |
| FortiRecorder 7.2.0 to 7.2.1 | 7.2.2 or later |
| FortiRecorder 7.0.0 to 7.0.4 | 7.0.5 or later |
| FortiRecorder 6.4.0 to 6.4.6 | Upgrade past 6.4.6; see the advisory |
| FortiVoice 7.0.0 to 7.0.3 | 7.0.5 or later |
| FortiVoice 6.4.0 to 6.4.9 | 6.4.10 or later |
| FortiVoice 6.0.0 to 6.0.12 | Upgrade past 6.0.12; see the advisory |

## The vendor's description

Multiple relative path traversal vulnerabilities [CWE-23] vulnerability in Fortinet FortiCamera 2.1 all versions, FortiCamera 2.0.0, FortiCamera 1.1 all versions, FortiCamera 1.0 all versions, FortiMail 7.6.0 through 7.6.1, FortiMail 7.4.0 through 7.4.3, FortiMail 7.2 all versions, FortiMail 7.0 all versions, FortiMail 6.4 all versions, FortiNDR 7.6.0 through 7.6.1, FortiNDR 7.4.0 through 7.4.6, FortiNDR 7.2 all versions, FortiNDR 7.1 all versions, FortiNDR 7.0 all versions, FortiRecorder 7.2.0 through 7.2.1, FortiRecorder 7.0.0 through 7.0.4, FortiRecorder 6.4 all versions, FortiVoice 7.0.0 through 7.0.3, FortiVoice 6.4.0 through 6.4.9, FortiVoice 6.0 all versions may allow a privileged attacker to read files from the underlying filesystem via crafted CLI requests.

## Sources

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

---

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.
