Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-40584: An improper neutralization of special elements used in an OS command ('OS Command Injection') vulnerability [C

45
This month
HIGH 7.2UPGRADEUPGRADEUPGRADE

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

  • High severity

A fixed release or distro patch exists.

Risk facts

CVSS score7.2 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededHigh
User interactionNone
EPSS exploit chance2.0% (top 19%)
CISA exploited listNo
WeaknessCWE-78
Published2025-02-11
Last modified2026-06-17
Publisher (CNA): Fortinet, Inc. · Vendor: fortinet

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

fortinet 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
apt-cache policy fortimanager-cloud || rpm -q fortimanager-cloud || fortimanager-cloud --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fortimanager-cloud
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fortimanager-cloud
Note
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)
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)
dnf --showduplicates list fortimanager-cloud sudo dnf downgrade fortimanager-cloud-<VERSION_BEFORE_6.4.1> sudo dnf versionlock add fortimanager-cloud
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
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
apt-cache policy fortimanager || rpm -q fortimanager || fortimanager --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fortimanager
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fortimanager
Note
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)
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)
dnf --showduplicates list fortimanager sudo dnf downgrade fortimanager-<VERSION_BEFORE_6.2.2> sudo dnf versionlock add fortimanager
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
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
apt-cache policy fortianalyzer-big-data || rpm -q fortianalyzer-big-data || fortianalyzer-big-data --version
2. UPGRADE to 7.2.8 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fortianalyzer-big-data
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fortianalyzer-big-data
Note
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)
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)
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
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
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
apt-cache policy fortianalyzer-cloud || rpm -q fortianalyzer-cloud || fortianalyzer-cloud --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fortianalyzer-cloud
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fortianalyzer-cloud
Note
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)
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)
dnf --showduplicates list fortianalyzer-cloud sudo dnf downgrade fortianalyzer-cloud-<VERSION_BEFORE_6.4.1> sudo dnf versionlock add fortianalyzer-cloud
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
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
apt-cache policy fortianalyzer || rpm -q fortianalyzer || fortianalyzer --version
2. UPGRADE to 7.2.6 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade fortianalyzer
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade fortianalyzer
Note
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)
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)
dnf --showduplicates list fortianalyzer sudo dnf downgrade fortianalyzer-<VERSION_BEFORE_6.2.2> sudo dnf versionlock add fortianalyzer
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
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

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.