home / blog

2026-11-12 · critical

CVE-2026-126147: critical path traversal in FortiMail 8.0–7.2

CVE-2026-126147: critical path traversal in FortiMail enables unauthenticated RCE. PoC available.

CVE-2026-126147: critical path traversal in FortiMail 8.0–7.2

A path traversal vulnerability (CWE-22) in FortiMail's management API allows unauthenticated attackers to write outside the permitted directory and achieve root code execution. CVE-2026-126147 affects FortiMail 8.0.0, 8.0.1, 7.6.0–7.6.6, 7.4.0–7.4.8, and all 7.2 versions. Impact is total: appliance compromise, email access, configuration modification, malware distribution.

CVSS 9.8 (Critical). Published November 11, 2026, confirmed by NVD. As of November 12, containerized PoC code is available on GitHub with differential analysis of vulnerable 8.0.1 vs patched 8.0.2. No active exploitation confirmed, but public availability speeds exploit adoption.

Immediate action: 1) Inventory all FortiMail instances in production, identify versions 8.0.0–8.0.1, 7.6.x, 7.4.x, 7.2. 2) Upgrade to 8.0.2+ urgently. 3) Enforce strict management API access control: disable public access, use IP whitelisting, segment the network. 4) Enable detailed API access logging. 5) Consult FG-IR-26-199 for version-specific patch instructions.

At a glance

What
Path traversal (CWE-22) in FortiMail management API. Unauthenticated attackers can write outside the permitted directory and achieve root code execution. CVE-2026-126147 affects FortiMail 8.0.0, 8.0.1, 7.6.0–7.6.6, 7.4.0–7.4.8, all 7.2 versions.
Severity
CVSS 9.8 (Critical). Officially declared critical vulnerability. Enables remote code execution as root without authentication.
Affected versions
FortiMail 8.0.0 through 8.0.1, 7.6.0 through 7.6.6, 7.4.0 through 7.4.8, 7.2 (all versions)
Fix
Patch to FortiMail 8.0.2 or later. Consult the Fortinet Security Advisory FG-IR-26-199 for version-specific update instructions.
Status
Published November 11, 2026. Containerized Proof of Concept publicly available as of November 12, 2026. No confirmed active exploitation signals in available data.
Action
1) Inventory FortiMail instances in production, identify versions 8.0.0–8.0.1, 7.6.x, 7.4.x, 7.2. 2) Upgrade to 8.0.2+ immediately. 3) Enforce strict management API access control: disable public access, use IP whitelisting, segment the network. 4) Enable detailed API access logging. 5) Consult FG-IR-26-199.

Sources: NVD, CVE-2026-126147

← All articles