Vulnerability record · CVE-2022-41328 · published 7 March 2023
CVE-2022-41328: FortiOS path traversal lets privileged CLI user read and write system files
Fortinet · Fortios
FortiOS versions 7.2.0 through 7.2.3, 7.0.0 through 7.0.9 and before 6.4.11 fail to properly restrict pathnames, allowing path traversal (CWE-22). A privileged attacker can use crafted CLI commands to read and write files on the underlying Linux system, breaking the boundary between the management interface and the host OS.
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.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Automated analysis
high priorityIt is in CISA KEV with confirmed exploitation and high confidentiality and integrity impact, though it requires local privileged access.
What it is
FortiOS versions 7.2.0 through 7.2.3, 7.0.0 through 7.0.9 and before 6.4.11 fail to properly restrict pathnames, allowing path traversal (CWE-22). A privileged attacker can use crafted CLI commands to read and write files on the underlying Linux system, breaking the boundary between the management interface and the host OS.
Impact
An attacker with existing privileged CLI access gains arbitrary file read and write on the underlying Linux system, which can expose sensitive data and enable modification of system files. The CVSS vector rates confidentiality and integrity impact as high, with no availability impact.
Attack surface
Reached locally through crafted CLI commands, per the CVSS vector AV:L/PR:L/UI:N, so the attacker needs local access and low-level privileges but no user interaction. It is not described as remotely exploitable without such access.
Exploitation
CISA added it to the Known Exploited Vulnerabilities catalog on 2023-03-14 with a 2023-04-04 remediation due date, indicating known exploitation; EPSS 30-day probability is about 10.7 percent (95.6th percentile). CISA does not list it as used in known ransomware campaigns.
What to do
- Apply the FortiOS updates specified in Fortinet advisory FG-IR-22-369 for the affected 7.2, 7.0 and 6.4 branches.
- Restrict and audit who holds privileged CLI or administrative access to FortiGate devices.
- Monitor and log CLI command usage on FortiOS devices for path traversal patterns.
- Review device file integrity and configuration for unauthorized changes after patching.
Detection
- Search FortiOS CLI and audit logs for commands containing traversal sequences such as ../ or absolute paths targeting system files.
- Alert on privileged CLI sessions that read or write files outside expected configuration paths.
- Correlate FortiGate administrative logins with subsequent file access or configuration changes on the underlying system.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2022-41328 to the Known Exploited Vulnerabilities catalog on 14 March 2023 as "Fortinet FortiOS Path Traversal Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 4 April 2023.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://fortiguard.com/psirt/FG-IR-22-369 | Vendor Advisory |
| https://fortiguard.com/psirt/FG-IR-22-369 | Vendor Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-41328 | US Government Resource |
Track CVE-2022-41328 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-41328), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.