Skip to main content
ISO/IEC 27001:2022 · Cert #2967/NET27A

FortiMail OS command injection flaw CVE-2026-126158 (CVSS 7.2)

Fortinet advisory FG-IR-26-210 (CVE-2026-126158, CVSSv3 7.2, High) covers an authenticated OS command injection in FortiMail 8.0.0 and 8.0.1 that can run commands as root. Affected versions and the fix.

Security advisory card: FortiMail OS command injection flaw CVE-2026-126158 (CVSS 7.2). Severity High, CVSS 7.2. CVE-2026-126158.

Advisory at a glance

CVE
CVE-2026-126158
Severity
Severity: High CVSS v3.1 7.2
Attack vector
Network
Privileges required: high
Exploitation evidence
Not listed in the CISA KEV catalog (record checked Nov 16, 2026)
Absence from KEV is not proof that a flaw is not exploited.
Last reviewed

Fortinet published PSIRT advisory FG-IR-26-210 on 10 November 2026. It covers CVE-2026-126158, an OS command injection weakness (CWE-78) in FortiMail. Fortinet rates it High, with a CVSSv3 score of 7.2. Fortinet lists FortiMail 8.0.0 and 8.0.1 as affected. The fix is FortiMail 8.0.2 or above.

Advisory details

FieldValue (as published by Fortinet)
Advisory IDFG-IR-26-210
TitleImproper neutralization of special elements used in an os command
Published2026-11-10
CVE IDCVE-2026-126158
SeverityHigh
CVSSv3 score7.2
CVSSv3 vectorAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C
WeaknessCWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
ImpactExecute unauthorized code or commands
Known attacks (per Fortinet)No (not known to be exploited)
ComponentAPI
Attack typeAuthenticated
DiscoveredInternal
Virtual patchNo
WorkaroundsNone listed
AcknowledgementInternally discovered and reported by Gwendal Guegniaud of the Fortinet Product Security team with the use of the frontier AI model: Claude Mythos.
Timeline2026-11-10: Initial publication

What the advisory says

Fortinet's summary, quoted in full:

An Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability [CWE-78] in FortiMail may allow an authenticated administrator to execute unauthorized code or commands as root via specially crafted HTTP requests.

In other words, FortiMail does not properly filter some input before passing it to the operating system. A logged-in administrator could send crafted HTTP requests that run commands with root (full system) rights.

Affected versions and solutions

The table below reproduces every row of the vendor's affected-products table, as published.

Product / versionAffectedSolution
FortiMail 8.08.0.0 through 8.0.1Upgrade to 8.0.2 or above
FortiMail 7.6Not affectedNot Applicable
FortiMail 7.4Not affectedNot Applicable

Terms explained

  • FortiMail: Fortinet's email security gateway, which filters inbound and outbound email.
  • OS command injection: a flaw where input sent to an application is passed to the operating system shell without proper filtering. The attacker's text is then run as a system command.
  • CWE-78: the MITRE Common Weakness Enumeration entry for OS command injection.
  • Root: the most privileged account on a Unix-like system. Commands run as root can change anything on the device.

The CVSSv3 vector, part by part

MetricValueMeaning
AV:NAttack Vector: NetworkThe attack can be sent over the network.
AC:LAttack Complexity: LowNo special conditions are needed.
PR:HPrivileges Required: HighThe attacker needs an administrator account.
UI:NUser Interaction: NoneNo other user has to take any action.
S:UScope: UnchangedThe impact stays within the vulnerable component.
C:H / I:H / A:HConfidentiality, Integrity, Availability: HighA successful attack could fully affect the data, its integrity and the service's availability.
E:PExploit Code Maturity: Proof-of-ConceptA temporal metric set by Fortinet. In CVSS, it means proof-of-concept code exists; it is not a report of attacks.
RL:ORemediation Level: Official FixThe vendor has released a fix.
RC:CReport Confidence: ConfirmedThe vendor has confirmed the vulnerability.

What This Means for IT Teams

The advisory lists FortiMail units running 8.0.0 or 8.0.1 as affected, and FortiMail 7.4 and 7.6 as not affected. Check the installed firmware version and upgrade 8.0 units to 8.0.2 or above.

An attack requires a valid FortiMail administrator account, and Fortinet lists no workaround. Fortinet lists the issue as not known to be exploited, and it is not in the CISA KEV catalog. For patch management, the upgrade to the fixed 8.0 build is the remediation.

NVD cross-check

  • NVD published the record on 11 November 2026. Its status is Awaiting Analysis, so NVD has not yet added its own score.
  • The only CVSS 3.1 score in NVD is Fortinet's: 7.2 High, vector CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. NVD shows the base metrics only, without Fortinet's temporal metrics. NVD lists no CVSS 4.0 score.
  • NVD lists the weakness as CWE-78, which matches the advisory.
  • NVD's description names FortiMail 8.0.0 through 8.0.1, which matches the advisory.
  • CISA KEV: CVE-2026-126158 is not in the catalog (version 2026.11.13).

Related coverage: FortiMail HA command injection flaw CVE-2026-126148 (CVSS 9.8).

Sources

Sources

  1. Improper neutralization of special elements used in an os command (FG-IR-26-210) (opens in a new tab) Fortinet PSIRT (FortiGuard Labs) Published Nov 10, 2026 Accessed Nov 16, 2026 fortiguard.fortinet.com
  2. CVE-2026-126158 Detail (opens in a new tab) NIST National Vulnerability Database (NVD) Published Nov 11, 2026 Accessed Nov 16, 2026 nvd.nist.gov
  3. Known Exploited Vulnerabilities Catalog (JSON feed) (opens in a new tab) Cybersecurity and Infrastructure Security Agency (CISA) Published Nov 13, 2026 Accessed Nov 16, 2026 cisa.gov

How we research, review and correct articles: Editorial Standards, Ethics & Corrections Policy. Found an error? Tell us.

Networking Pulse · https://networkingpulse.com/news/security/fortimail-os-command-injection-cve-2026-126158/

Cybersecurity & Compliance

Need help checking your exposure to this advisory?

Talk to our team about the devices and versions in your network and how to plan the update.