CVE-2024-40584: An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [C HIGH 7.2 UPGRADE UPGRADE UPGRADE
CVE-2024-40584 is a high-severity flaw (CVSS 7.2) affecting fortimanager cloud, fortimanager, fortianalyzer big data. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiAnalyzer version 7.4.0 through 7.4.3, 7.2.0 through 7.2.5, 7.0.0 through 7.0.13, 6.4.0 through 6.4.15 and 6.2.2 through 6.2.13, Fortinet FortiManager version 7.4.0 through 7.4.3, 7.2.0 through 7.2.5, 7.0.0 through 7.0.13, 6.4.0 through 6.4.15 and 6.2.2 through 6.2.13, Fortinet FortiAnalyzer BigData version 7.4.0, 7
Why this priority A fixed release or distro patch exists.
Risk facts CVSS score 7.2 (High) Attack vector Network (remote) Attack complexity Low Privileges needed High User interaction None EPSS exploit chance 2.0% (top 19%) CISA exploited list No Weakness CWE-78 Published 2025-02-11 Last modified 2026-06-17
Share: LinkedIn · X · Reddit
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Timeline 2025-02-11 17:15 UTC Published CVE record published2026-06-17 07:46 UTC Updated Record last modifiedfortinet fortimanager cloud UPGRADE
Affected: >= 6.4.1 and <= 7.0.14 · >= 7.2.1 and < 7.2.6 · >= 7.4.1 and < 7.4.4
Fixed in: 7.2.6, 7.4.4
Safe to downgrade to: a release before 6.4.1
1. Check installed version
Copy apt-cache policy fortimanager-cloud || rpm -q fortimanager-cloud || fortimanager-cloud --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade fortimanager-cloud
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade fortimanager-cloud
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.4.1 (Debian / Ubuntu)
Copy apt-cache madison fortimanager-cloud
sudo apt install fortimanager-cloud=<VERSION_BEFORE_6.4.1>
sudo apt-mark hold fortimanager-cloud
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list fortimanager-cloud
sudo dnf downgrade fortimanager-cloud-<VERSION_BEFORE_6.4.1>
sudo dnf versionlock add fortimanager-cloud
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
fortinet fortimanager UPGRADE
Affected: >= 6.2.2 and <= 6.2.13 · >= 6.4.0 and < 7.2.6 · >= 7.4.0 and < 7.4.4
Fixed in: 7.2.6, 7.4.4
Safe to downgrade to: a release before 6.2.2
1. Check installed version
Copy apt-cache policy fortimanager || rpm -q fortimanager || fortimanager --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade fortimanager
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade fortimanager
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.2.2 (Debian / Ubuntu)
Copy apt-cache madison fortimanager
sudo apt install fortimanager=<VERSION_BEFORE_6.2.2>
sudo apt-mark hold fortimanager
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list fortimanager
sudo dnf downgrade fortimanager-<VERSION_BEFORE_6.2.2>
sudo dnf versionlock add fortimanager
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
fortinet fortianalyzer big data UPGRADE
Affected: >= 6.2.1 and < 7.2.8 · 7.4.0
Fixed in: 7.2.8
Safe to downgrade to: a release before 6.2.1
1. Check installed version
Copy apt-cache policy fortianalyzer-big-data || rpm -q fortianalyzer-big-data || fortianalyzer-big-data --version
2. UPGRADE to 7.2.8 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade fortianalyzer-big-data
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade fortianalyzer-big-data
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.2.1 (Debian / Ubuntu)
Copy apt-cache madison fortianalyzer-big-data
sudo apt install fortianalyzer-big-data=<VERSION_BEFORE_6.2.1>
sudo apt-mark hold fortianalyzer-big-data
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list fortianalyzer-big-data
sudo dnf downgrade fortianalyzer-big-data-<VERSION_BEFORE_6.2.1>
sudo dnf versionlock add fortianalyzer-big-data
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
fortinet fortianalyzer cloud UPGRADE
Affected: >= 6.4.1 and < 7.2.6 · >= 7.4.1 and < 7.4.4
Fixed in: 7.2.6, 7.4.4
Safe to downgrade to: a release before 6.4.1
1. Check installed version
Copy apt-cache policy fortianalyzer-cloud || rpm -q fortianalyzer-cloud || fortianalyzer-cloud --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade fortianalyzer-cloud
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade fortianalyzer-cloud
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.4.1 (Debian / Ubuntu)
Copy apt-cache madison fortianalyzer-cloud
sudo apt install fortianalyzer-cloud=<VERSION_BEFORE_6.4.1>
sudo apt-mark hold fortianalyzer-cloud
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list fortianalyzer-cloud
sudo dnf downgrade fortianalyzer-cloud-<VERSION_BEFORE_6.4.1>
sudo dnf versionlock add fortianalyzer-cloud
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
fortinet fortianalyzer UPGRADE
Affected: >= 6.2.2 and < 7.2.6 · >= 7.4.0 and < 7.4.4
Fixed in: 7.2.6, 7.4.4
Safe to downgrade to: a release before 6.2.2
1. Check installed version
Copy apt-cache policy fortianalyzer || rpm -q fortianalyzer || fortianalyzer --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
Copy sudo apt update && sudo apt install --only-upgrade fortianalyzer
2. UPGRADE (RHEL / Amazon Linux / Fedora)
Copy sudo dnf upgrade fortianalyzer
Note
Copy Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 6.2.2 (Debian / Ubuntu)
Copy apt-cache madison fortianalyzer
sudo apt install fortianalyzer=<VERSION_BEFORE_6.2.2>
sudo apt-mark hold fortianalyzer
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
Copy dnf --showduplicates list fortianalyzer
sudo dnf downgrade fortianalyzer-<VERSION_BEFORE_6.2.2>
sudo dnf versionlock add fortianalyzer
Downgrade risk
Copy Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Copy Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD ·
CVE Program ·
Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems. Quick answers How do I fix CVE-2024-40584? fortimanager cloud: upgrade to 7.2.6, 7.4.4; fortimanager: upgrade to 7.2.6, 7.4.4; fortianalyzer big data: upgrade to 7.2.8. Exact commands for each OS are on this page.
Is CVE-2024-40584 being exploited? CVE-2024-40584 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-40584 affect? CVE-2024-40584 affects fortimanager cloud, fortimanager, fortianalyzer big data. Severity is high (CVSS 7.2). An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [CWE-78] in Fortinet FortiAnalyzer version 7.4.0 through 7.4.3, 7.2.0 through 7.2.5, 7.0.0 through 7.0.13, 6.4.0 through 6.4.15 and
How urgent is CVE-2024-40584? Priority 45/100. High severity
Software pages Fortinet vulnerabilities
Related CVEs CVE-2024-50571 HIGH 7.2 UPGRADE UPGRADE A heap-based buffer overflow vulnerability in Fortinet FortiAnalyzer 7.6.0 through 7.6.2, FortiAnalyzer 7.4.0 CVE-2024-47569 MEDIUM 4.3 UPGRADE UPGRADE A insertion of sensitive information into sent data vulnerability in Fortinet FortiMail 7.4.0 through 7.4.2, FCVE-2026-22828 HIGH 8.1 UPGRADE UPGRADE A heap-based buffer overflow vulnerability in Fortinet FortiAnalyzer Cloud 7.6.2 through 7.6.4, FortiManager CCVE-2026-70468 HIGH 8.1 UPGRADE UPGRADE A authentication bypass using an alternate path or channel vulnerability in Fortinet FortiManager 7.6.1, FortiCVE-2024-48884 HIGH 7.5 UPGRADE UPGRADE A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet ForReferences ← Back to latest CVEs