CVE-2024-23113: Unauthenticated Remote Code Execution in Fortinet FGFM Daemon
- Vendor
- Fortinet
CVE-2024-23113 is an externally controlled format-string vulnerability in the Fortinet fgfmd daemon, which implements FortiGate-to-FortiManager communications (FGFM). Specially crafted requests can allow a remote, unauthenticated attacker to execute arbitrary code or commands. Affected products include FortiOS 7.4.0–7.4.2, 7.2.0–7.2.6, and 7.0.0–7.0.13; FortiProxy 7.4.0–7.4.2, 7.2.0–7.2.8, and 7.0.0–7.0.14; FortiPAM 1.2.0, 1.1.0–1.1.2, and 1.0.0–1.0.3; and FortiSwitchManager 7.2.0–7.2.3 and 7.0.0–7.0.3. The vulnerability has a CVSS v3 score of 9.8 and was added to CISA's Known Exploited Vulnerabilities catalog on October 9, 2024.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation permits arbitrary code or command execution on an affected appliance without authentication. Appliance compromise can undermine the confidentiality and integrity of configuration data and security controls, disrupt services, and provide a foothold for further intrusion into connected networks.
Mitigation
If you can’t patch tonight, do this now.
If patching cannot be performed immediately, remove fgfm from the allowaccess setting on every interface while retaining other required access methods. This prevents FortiManager-initiated FortiGate discovery, although connections initiated by FortiGate remain possible. Remove public FGFM exposure and restrict management communications to trusted networks or explicitly authorized peers across IPv4 and IPv6, including TCP ports 541 and 542 where applicable. Local-in policies restricting FGFM source addresses reduce exposure but are not a complete workaround because exploitation remains possible from an allowed address.
Remediation
Patch, then assume compromise.
Follow Fortinet's recommended upgrade path to a fixed, supported release. Fixed targets are FortiOS 7.4.3 or later, 7.2.7 or later, and 7.0.14 or later; FortiProxy 7.4.3 or later, 7.2.9 or later, and 7.0.16 or later; and FortiSwitchManager 7.2.4 or later and 7.0.4 or later, according to the installed branch. Migrate affected FortiPAM 1.0, 1.1, and 1.2 installations to a vendor-confirmed fixed release; the vendor advisory does not specify fixed-version targets for those branches.
Exploits
No validated public exploits yet. Hidden: 7 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-23113 exploited in the wild?
- Yes. As of Nov 24, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Oct 9, 2024.
- Is there a public exploit for CVE-2024-23113?
- As of Nov 24, 2026, Mallory has found no public exploit for CVE-2024-23113.
- Is there a patch for CVE-2024-23113?
- Follow Fortinet's recommended upgrade path to a fixed, supported release. Fixed targets are FortiOS 7.4.3 or later, 7.2.7 or later, and 7.0.14 or later; FortiProxy 7.4.3 or later, 7.2.9 or later, and 7.0.16 or later; and FortiSwitchManager 7.2.4 or later and 7.0.4 or later, according to the installed branch.
- What products are affected by CVE-2024-23113?
- Fortinet Fortios, Fortinet Fortipam, Fortinet Fortiproxy, and Fortinet Fortiswitchmanager.
- How severe is CVE-2024-23113?
- CVE-2024-23113 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 6.6% (95th percentile) as of Nov 24, 2026.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.