CVE-2022-41328: Authenticated Path Traversal in Fortinet FortiOS CLI Commands
- Vendor
- Fortinet
CVE-2022-41328 is an authenticated path traversal vulnerability in Fortinet FortiOS execute commands. Insufficient pathname restrictions allow a privileged attacker to use crafted CLI commands to read and write arbitrary files on the underlying Linux system outside permitted directories. Arbitrary file modification can enable unauthorized code execution and persistent firmware tampering. Affected releases include FortiOS 7.2.0–7.2.3, 7.0.0–7.0.9, 6.4.0–6.4.11, 6.2 releases before 6.2.14, and all 6.0 releases. The vulnerability was exploited as a zero-day and has been associated with UNC3886 operations against FortiGate devices.
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 compromises confidentiality and integrity through arbitrary file reads and writes and can enable code execution by replacing executable components or modifying startup behavior. Observed attacks deployed backdoors supporting remote shells, file transfer, and data exfiltration. Firmware tampering also caused operating-system and file corruption, data loss, and service outages. In affected FIPS-enabled devices, firmware integrity failures caused shutdown and prevented subsequent booting.
Mitigation
If you can’t patch tonight, do this now.
No vulnerability-specific workaround is documented in the supplied Fortinet advisory details. As defense in depth, restrict privileged administrative access and isolate management interfaces to trusted management networks or explicitly authorized peers. Restrict FGFM access on TCP ports 541 and 542 across IPv4 and IPv6, and protect FortiManager administrative access because compromised management infrastructure was used to deliver exploit-related scripts. These controls reduce exposure but do not replace patching.
Remediation
Patch, then assume compromise.
Upgrade to FortiOS 7.2.4 or later, 7.0.10 or later, 6.4.12 or later, or 6.2.14 or later, as appropriate for the deployed branch. No fixed FortiOS 6.0 release is listed; migrate those devices to a fixed release. Prefer a currently supported branch with current security updates. Security updates addressing this vulnerability were first released on March 7, 2023.
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.
References
Frequently asked questions
- Is CVE-2022-41328 exploited in the wild?
- Yes. As of Nov 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 14, 2023.
- Is there a public exploit for CVE-2022-41328?
- As of Nov 16, 2026, Mallory has found no public exploit for CVE-2022-41328.
- Is there a patch for CVE-2022-41328?
- Upgrade to FortiOS 7.2.4 or later, 7.0.10 or later, 6.4.12 or later, or 6.2.14 or later, as appropriate for the deployed branch. No fixed FortiOS 6.0 release is listed; migrate those devices to a fixed release.
- What products are affected by CVE-2022-41328?
- Fortinet Fortios.
- How severe is CVE-2022-41328?
- CVE-2022-41328 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 0.61% (44th percentile) as of Nov 16, 2026.
Recent activity
15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.