# CVE-2024-40591: Incorrect privilege assignment in FortiOS

- Vendor: Fortinet, FortiOS
- Severity: HIGH (CVSS 3.1 8)
- Exploited (CISA KEV): not listed
- EPSS: 0.6% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-24-302, https://fortiguard.fortinet.com/psirt/FG-IR-24-302
- Published: 2025-02-11; updated: 2025-02-11
- Page: https://patchtonight.com/cve/CVE-2024-40591/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiOS 7.6 | 7.6.1 or later |
| FortiOS 7.4.0 to 7.4.4 | 7.4.5 or later |
| FortiOS 7.2.0 to 7.2.9 | 7.2.10 or later |
| FortiOS 7.0.0 to 7.0.15 | 7.0.16 or later |
| FortiOS 6.4.0 to 6.4.15 | Upgrade past 6.4.15; see the advisory |

## The vendor's description

An incorrect privilege assignment vulnerability [CWE-266] in Fortinet FortiOS version 7.6.0, 7.4.0 through 7.4.4, 7.2.0 through 7.2.9 and before 7.0.15 allows an authenticated admin whose access profile has the Security Fabric permission to escalate their privileges to super-admin by connecting the targetted FortiGate to a malicious upstream FortiGate they control.

## Sources

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

---

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.
