Skip to content
Server Security Center
KEVmedium6.5

CVE-2022-41328: Fortinet FortiOS Path Traversal

Fortinet FortiOS · listed in the CISA catalog of actively exploited vulnerabilities since 2023-03-14.

CVSS v3.1 (CVE record)
6.5
medium
EPSS (exploit probability, 30 days)
11%
higher than 95.9% of all CVEs
Added to CISA KEV
2023-03-14
US federal due date 2023-04-04
Automatable (CISA SSVC)
no
technical impact: total

CVE-2022-41328 explained

CVE-2022-41328 is a path traversal vulnerability (CWE-22) in Fortinet FortiOS. A privileged attacker can read and write files on the underlying Linux system through crafted CLI commands. CISA lists it as known to be exploited, so affected FortiOS devices should be updated promptly.

Impact

An attacker who already has high privileges and local access to the CLI can read and write arbitrary files on the underlying Linux system. No user interaction is needed. Confidentiality, integrity and availability impacts are all high. CISA rates the technical impact as total, meaning full control of the affected component, but not automatable, so exploitation requires manual steps rather than mass scanning. Attackers are known to have used this vulnerability.

Who is affected

Fortinet FortiOS is affected in versions 6.0.0 up to and including 6.0.16, 6.2.0 up to and including 6.2.13, 6.4.0 up to and including 6.4.11, 7.0.0 up to and including 7.0.9, and 7.2.0 up to and including 7.2.3. Fixed versions are 6.4.12, 7.0.10 and 7.2.4. The CVE record names no fixed version within the 6.0.0–6.0.16 or 6.2.0–6.2.13 ranges.

Written with AI from the data on this page and checked against it automatically.

Official description

A improper limitation of a pathname to a restricted directory vulnerability ('path traversal') [CWE-22] in Fortinet FortiOS version 7.2.0 through 7.2.3, 7.0.0 through 7.0.9 and before 6.4.11 allows a privileged attacker to read and write files on the underlying Linux system via crafted CLI commands.

CISA required action: Apply updates per vendor instructions.

CISA notes

Affected and fixed versions

From the CVE record published by the vendor or CVE numbering authority.

  • Fortinet FortiOS
    Affected
    • ≥ 6.0.0, ≤ 6.0.16
    • ≥ 6.2.0, ≤ 6.2.13
    • ≥ 6.4.0, ≤ 6.4.11
    • ≥ 7.0.0, ≤ 7.0.9
    • ≥ 7.2.0, ≤ 7.2.3
    Fixed in
    • 6.4.12
    • 7.0.10
    • 7.2.4

    Fixed versions taken from the CNA solution text.

How to fix it

  • Update to a fixed version: 6.4.12, 7.0.10, 7.2.4.
  • Vendor advisory: fortiguard.com/psirt/FG-IR-22-369
  • CISA's deadline for US federal agencies: 2023-04-04 (passed) – a useful benchmark for everyone else, too.

Vendor solution: Please upgrade to FortiOS version 7.2.4 or above Please upgrade to FortiOS version 7.0.10 or above Please upgrade to FortiOS version 6.4.12 or above

What to do

  1. Update FortiOS to 7.2.4, 7.0.10 or 6.4.12 or later, following Fortinet's advisory.
  2. For devices on 6.0.16, 6.2.13 or earlier in those ranges, upgrade to a fixed release per the vendor advisory.
  3. Restrict administrative and CLI access to trusted administrators and management networks only.
  4. Review administrator accounts and remove or rotate credentials that are unused or possibly exposed.
  5. Check devices for signs of compromise, such as unexpected file changes or unknown admin activity.

Written with AI from the data on this page and checked against it automatically.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
No – each attack needs manual steps
Technical impact
Total – full control of the component or total information disclosure

Weakness: CWE-22 Execute unauthorized code or commands

Questions about CVE-2022-41328

Is CVE-2022-41328 being exploited?
Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2023-03-14, with a US federal due date of 2023-04-04. Whether it is used in ransomware campaigns is unknown.
Can an unauthenticated attacker exploit this?
No. The attacker needs high privileges and local access to issue crafted CLI commands. However, a successful attack gives read and write access to files on the underlying Linux system.
Which FortiOS versions fix the issue?
The CVE record lists 6.4.12, 7.0.10 and 7.2.4 as fixed versions. CISA's required action is to apply updates per vendor instructions.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-22. Always confirm with the vendor's or distribution's advisory before patching.