---
id: CVE-2026-126147
title: >-
  A improper limitation of a pathname to a restricted directory ('path
  traversal') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail
  7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions
  may allow …
summary: >-
  A improper limitation of a pathname to a restricted directory ('path
  traversal') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail
  7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions
  may allow …
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:R'
cvssSource: cna
cwe:
  - CWE-22
vendor: Fortinet
product: FortiMail
affected:
  - FortiMail >= 8.0.0 <= 8.0.1
  - FortiMail >= 7.6.0 <= 7.6.6
  - FortiMail >= 7.4.0 <= 7.4.8
  - FortiMail >= 7.2.0 <= 7.2.9
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-11-14T04:57:31.423625Z'
exploitAvailable: true
published: '2026-11-11'
updated: '2026-11-16'
sourceUpdated: '2026-11-16T14:30:24.031Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-126147'
references:
  - url: 'https://fortiguard.fortinet.com/psirt/FG-IR-26-199'
    label: 'https://fortiguard.fortinet.com/psirt/FG-IR-26-199'
tags:
  - cve.org
  - exploit-available
epss: 0.00632
epssPercentile: 0.51025
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/googlesky/CVE-2026-126147'
  checkedAt: '2026-11-19T06:09:20.901Z'
ingestedAt: '2026-11-11T22:31:08.917Z'
---

## Overview

A improper limitation of a pathname to a restricted directory ('path traversal') vulnerability in Fortinet FortiMail 8.0.0 through 8.0.1, FortiMail 7.6.0 through 7.6.6, FortiMail 7.4.0 through 7.4.8, FortiMail 7.2 all versions may allow an unauthenticated attacker to execute unauthorized code or commands via crafted requests.

## Affected

- `FortiMail >= 8.0.0 <= 8.0.1`
- `FortiMail >= 7.6.0 <= 7.6.6`
- `FortiMail >= 7.4.0 <= 7.4.8`
- `FortiMail >= 7.2.0 <= 7.2.9`

## Remediation

Upgrade to FortiMail version 8.0.2 or above
Upgrade to FortiMail version 7.6.7 or above
Upgrade to FortiMail version 7.4.9 or above
