CVE-2021-41018: Fortinet FortiWeb

High severity, CVSS 8.8. EPSS: 3.3% probability of exploitation activity in the next 30 days.

A improper neutralization of special elements used in an os command ('os command injection') in Fortinet FortiWeb version 6.4.1 and below, 6.3.15 and below allows attacker to execute unauthorized code or commands via crafted HTTP requests.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Fortinet FortiWeb, from 6.2.0, before 6.2.7: fixed in 6.2.7
  • Fortinet FortiWeb, from 6.3.0, before 6.3.16: fixed in 6.3.16
  • Fortinet FortiWeb, from 6.4.0, before 6.4.2: fixed in 6.4.2

Affected products

  • Fortinet FortiWeb: from 6.2.0, before 6.2.7 (fixed in 6.2.7); from 6.3.0, before 6.3.16 (fixed in 6.3.16); from 6.4.0, before 6.4.2 (fixed in 6.4.2)

Published 2022-02-02. Last modified 2026-06-17.