---
id: "CVE-2022-41328"
kind: "vulnerability"
aliases: ["CVE-2022-41328"]
title: "fortinet fortios: A improper limitation of a pathname to a restricted directory vulnerability ('path traversal') [CWE-22] in Fortinet\u2026"
severity: "high"
cvss: 7.1
epss: null
exploited: true
status: "open"
category: "infrastructure"
products: [{"name": "fortinet fortios", "fixed": [], "affected": ">= 6.0.0, <= 6.0.16", "ecosystem": "vendor"}, {"name": "fortinet fortios", "fixed": ["6.2.14"], "affected": ">= 6.2.0, < 6.2.14", "ecosystem": "vendor"}, {"name": "fortinet fortios", "fixed": ["6.4.12"], "affected": ">= 6.4.0, < 6.4.12", "ecosystem": "vendor"}, {"name": "fortinet fortios", "fixed": ["7.0.10"], "affected": ">= 7.0.0, < 7.0.10", "ecosystem": "vendor"}, {"name": "fortinet fortios", "fixed": ["7.2.4"], "affected": ">= 7.2.0, < 7.2.4", "ecosystem": "vendor"}, {"name": "Fortinet FortiOS", "fixed": [], "affected": "", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "fortigate", "fortios", "infrastructure", "self-hosted"]
not_affected_if: ["no-fortios-devices"]
published_at: "2023-03-07T17:15:12+00:00"
first_seen_at: "2026-10-23T19:11:52+00:00"
updated_at: "2026-10-24T00:09:51+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-41328", "first_seen_at": "2026-10-23T19:11:52+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-41328", "first_seen_at": "2026-10-23T22:29:04+00:00"}]
---

# fortinet fortios: A improper limitation of a pathname to a restricted directory vulnerability ('path traversal') [CWE-22] in Fortinet…

Fortinet FortiOS, the operating system on FortiGate firewalls, has a path traversal flaw that lets a privileged local user read and write arbitrary files through crafted CLI commands. CISA reports it is being exploited in the wild.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:fortinet fortios affected >= 6.0.0, <= 6.0.16 fixed ?
- vendor:fortinet fortios affected >= 6.2.0, < 6.2.14 fixed 6.2.14
- vendor:fortinet fortios affected >= 6.4.0, < 6.4.12 fixed 6.4.12
- vendor:fortinet fortios affected >= 7.0.0, < 7.0.10 fixed 7.0.10
- vendor:fortinet fortios affected >= 7.2.0, < 7.2.4 fixed 7.2.4
- vendor:Fortinet FortiOS affected ? fixed ?

## Fix

Apply the updates per the vendor instructions (Fortinet advisory FG-IR-22-398); the affected and fixed versions are not stated in the sources.

## Timeline

- 2026-10-23T19:11:52+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-41328
- 2026-10-23T22:29:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2022-41328

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
