← Vulnerability feed

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.

7.1 CVSS 3.1 High CISA KEV since 14 Mar 2023 EPSS 11% · top 4.3% CWE-22 · Path traversal
7.1CVSS 3.1 base score
11%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
3References
17 Jun 2026Last modified by NVD

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

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

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

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.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2026-24858Fortinet FortiCloud SSO authentication bypass across registered devicesA CWE-288 authentication bypass in Fortinet FortiAnalyzer, FortiManager, FortiNAC-F, FortiOS, FortiProxy and FortiWeb lets an attacker with a FortiCl…KEVEPSS 86%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed9.8CVE-2025-59718Fortinet FortiOS/FortiProxy SAML signature check bypass in FortiCloud SSOFortiOS, FortiProxy and FortiSwitchManager fail to properly verify the cryptographic signature of SAML responses used for FortiCloud SSO login. An un…KEVEPSS 68%analysed9.8CVE-2024-55591FortiOS and FortiProxy authentication bypass via Node.js websocketFortiOS 7.0.0 through 7.0.16 and FortiProxy 7.0.0 through 7.0.19 and 7.2.0 through 7.2.12 contain an authentication bypass (CWE-288) reachable throug…KEVEPSS 94%analysed9.8CVE-2024-23113Fortinet FortiOS and related products format string remote code executionA use of externally-controlled format string (CWE-134) in Fortinet FortiOS, FortiProxy, FortiPAM and FortiSwitchManager lets an attacker execute unau…KEVEPSS 62%analysed9.8CVE-2024-21762Fortinet FortiOS and FortiProxy out-of-bounds write in SSL VPNFortiOS and FortiProxy contain an out-of-bounds write (CWE-787) reachable through specifically crafted requests. The flaw affects a wide range of For…KEVEPSS 83%analysed9.8CVE-2023-27997Fortinet FortiOS and FortiProxy SSL-VPN heap buffer overflowFortiOS and FortiProxy SSL-VPN contain a heap-based buffer overflow (CWE-122/CWE-787) reachable through specifically crafted requests. It is a pre-au…KEVEPSS 86%analysed9.8CVE-2022-42475FortiOS and FortiProxy SSL-VPN heap buffer overflow allows remote code executionA heap-based buffer overflow (CWE-122/CWE-787) in the FortiOS and FortiProxy SSL-VPN component lets a remote attacker trigger memory corruption throu…KEVEPSS 99%analysed

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.