CVE-2022-42474: Authenticated directory deletion in Fortinet administrative interfaces
- Vendor
- Fortinet
CVE-2022-42474 is a relative path traversal vulnerability in the administrative GUI of Fortinet FortiOS, FortiProxy, and FortiSwitchManager. A privileged, authenticated attacker can submit crafted HTTP requests to delete arbitrary filesystem directories. Affected versions include FortiOS 7.2.0–7.2.3, 7.0.0–7.0.9, and versions before 6.4.12; FortiProxy 7.2.0–7.2.1 and 7.0.0–7.0.7; and FortiSwitchManager 7.2.0–7.2.1 and versions before 7.0.1.
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.
Exploitation permits arbitrary directory deletion, potentially causing data loss or service disruption. The vendor advisory also categorizes the impact as execution of unauthorized code or commands, but its technical description does not establish an arbitrary code execution mechanism. Claims of credential exposure and post-patch persistence cannot be reliably attributed to this vulnerability because the associated exploitation advisory inconsistently identifies CVE-2022-42474 and CVE-2022-42475.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to administrative HTTP interfaces to trusted management networks and authorized administrators only, minimize the number of privileged accounts, and monitor for anomalous administrative requests or unexpected filesystem changes. If immediate patching is not possible, reduce exposure of management interfaces, enforce strong access controls around privileged administration, and review systems for signs of destructive activity. No separate vendor workaround is available in the provided information.
Remediation
Patch, then assume compromise.
Upgrade FortiOS to 7.2.4, 7.0.10, 6.4.13, or later in the corresponding release branch; FortiOS 7.4.0 and later are also listed upgrade targets. Upgrade FortiProxy to 7.2.2, 7.0.8, 2.0.12, or later in the corresponding branch. Upgrade FortiSwitchManager to 7.2.2, 7.0.2, or later in the corresponding branch. No fixed releases are listed for FortiOS 6.2 or FortiProxy 1.0, 1.1, and 1.2; migrate these deployments to a listed fixed release.
Exploits
No public exploits tracked yet. Mallory keeps watching.
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.
Frequently asked questions
- Is CVE-2022-42474 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2022-42474?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2022-42474.
- Is there a patch for CVE-2022-42474?
- Upgrade FortiOS to 7.2.4, 7.0.10, 6.4.13, or later in the corresponding release branch; FortiOS 7.4.0 and later are also listed upgrade targets. Upgrade FortiProxy to 7.2.2, 7.0.8, 2.0.12, or later in the corresponding branch.
- What products are affected by CVE-2022-42474?
- Fortinet Fortios, Fortinet Fortiproxy, and Fortinet Fortiswitchmanager.
- How severe is CVE-2022-42474?
- CVE-2022-42474 has a CVSS v3.1 score of 2.7 (Low) and an EPSS score of 0.64% (52nd percentile) as of Oct 16, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.