CVE-2026-126147 Path traversal in FortiMail
Unauthenticated attackers can execute unauthorized code or commands on FortiMail via crafted requests exploiting path traversal.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-126147?
CVE-2026-126147 is a critical path traversal vulnerability in Fortinet FortiMail, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-22
Which versions are affected by CVE-2026-126147?
An affected version is exposed as installed. No special setting or call is needed.
How do I fix CVE-2026-126147?
No fix has been published for CVE-2026-126147 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-126147 being exploited?
There is no known exploitation of CVE-2026-126147 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Sources
Also known as GHSA-gqr2-q46q-4w7q.