CVE-2026-40688: Fortinet FortiWeb

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

An out-of-bounds write vulnerability [CWE-787] vulnerability in Fortinet FortiWeb 8.0.0 through 8.0.3, FortiWeb 7.6.0 through 7.6.6, FortiWeb 7.4.0 through 7.4.11 may allow a remote privileged attacker to execute arbitrary code or command 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 7.4.0, before 7.4.12: fixed in 7.4.12
  • Fortinet FortiWeb, from 7.6.0, before 7.6.7: fixed in 7.6.7
  • Fortinet FortiWeb, from 8.0.0, before 8.0.4: fixed in 8.0.4

Affected products

  • Fortinet FortiWeb: from 7.4.0, before 7.4.12 (fixed in 7.4.12); from 7.6.0, before 7.6.7 (fixed in 7.6.7); from 8.0.0, before 8.0.4 (fixed in 8.0.4)

Published 2026-04-14. Last modified 2026-07-24.