Skip to main content
Mallory
HighExploited in the wildCISA KEVVulnerability

CVE-2022-41328: Authenticated Path Traversal in Fortinet FortiOS CLI Commands

Published Mar 7, 2023 · Updated 12 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.1High · v3.1
EPSS0.61%44th percentile
CISA KEVYesAdded Mar 14, 2023
In the wildActivePer CISA KEV
Vendor
Fortinet
IdentifiersCVE-2022-41328CWE-22 · Improper Limitation of a Pathname…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
FortinetFortiosoperating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence7Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.