Fortinet FortiMail, FortiVoice Path Traversal 7.6.x/7.0.x
CVE-2024-40588 Published on August 12, 2025
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.
Vulnerability Analysis
CVE-2024-40588 is exploitable with local system access, and requires user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
Relative Path Traversal
The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory. This allows attackers to traverse the file system to access files or directories that are outside of the restricted directory.
Products Associated with CVE-2024-40588
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-40588 are published in these products:
Affected Versions
Fortinet FortiCamera:- Version 2.1.0, <= 2.1.4 is affected.
- Version 2.0.0 is affected.
- Version 1.1.0, <= 1.1.5 is affected.
- Version 1.0.3, <= 1.0.5 is affected.
- Version 7.6.0, <= 7.6.1 is affected.
- Version 7.4.0, <= 7.4.6 is affected.
- Version 7.2.0, <= 7.2.5 is affected.
- Version 7.1.0, <= 7.1.1 is affected.
- Version 7.0.0, <= 7.0.7 is affected.
- Version 7.6.0, <= 7.6.1 is affected.
- Version 7.4.0, <= 7.4.3 is affected.
- Version 7.2.0, <= 7.2.9 is affected.
- Version 7.0.0, <= 7.0.9 is affected.
- Version 6.4.0, <= 6.4.8 is affected.
- Version 7.2.0, <= 7.2.1 is affected.
- Version 7.0.0, <= 7.0.4 is affected.
- Version 6.4.0, <= 6.4.6 is affected.
- Version 7.0.0, <= 7.0.3 is affected.
- Version 6.4.0, <= 6.4.9 is affected.
- Version 6.0.0, <= 6.0.12 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.