CVE-2026-40688

Published Apr 14, 2026 CVSS 3.1 · 6.7 Medium EPSS 6.7% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

An out-of-bounds write flaw exists in Fortinet FortiWeb firmware versions 8.0.0 through 8.0.3, 7.6.0 through 7.6.6, and 7.4.0 through 7.4.11. A privileged attacker can send specially crafted HTTP requests that trigger a memory corruption, allowing remote execution of arbitrary code or system commands.

Affected Systems

Fortinet FortiWeb devices running versions 8.0.0 through 8.0.3, 7.6.0 through 7.6.6, and 7.4.0 through 7.4.11 are affected. The product is a web application firewall released by Fortinet.

Risk and Exploitability

The CVSS base score is 6.7, indicating a moderate severity. The EPSS score is 6%, indicating a moderate likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is not explicitly specified in the advisory; based on the nature of the flaw, the likely vector comes from requests processed by the FortiWeb appliance, which suggests remote exploitation through network traffic directed at the device.

Remediation

Vendor Solution

Upgrade to FortiWeb version 8.0.4 or above Upgrade to FortiWeb version 7.6.7 or above Upgrade to FortiWeb version 7.4.12 or above


OpenCVE Recommended Actions

  • Upgrade FortiWeb to version 8.0.4 or newer
  • Upgrade FortiWeb to version 7.6.7 or newer
  • Upgrade FortiWeb to version 7.4.12 or newer
  • Implement strict input validation and bounds checking on all HTTP request handling to prevent out-of-bounds writes, mitigating CWE-787

Generated by OpenCVE AI on October 25, 2026 at 18:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Title Remote Code Execution via Out-of-Bounds Write in FortiWeb
Type Values Removed Values Added
Title Remote Code Execution via Out-of-Bounds Write in FortiWeb
Type Values Removed Values Added
Title Out‑of‑Bounds Write Allowing Remote Code Execution in Fortinet FortiWeb
Type Values Removed Values Added
CPEs cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Out‑of‑Bounds Write Allowing Remote Code Execution in Fortinet FortiWeb
Type Values Removed Values Added
Description A out-of-bounds write 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 attacker to execute unauthorized code or commands via <insert attack vector here> 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.
Type Values Removed Values Added
Description A out-of-bounds write 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 attacker to execute unauthorized code or commands via <insert attack vector here>
First Time appeared Fortinet
Fortinet fortiweb
Weaknesses CWE-787
CPEs cpe:2.3:a:fortinet:fortiweb:7.4.0:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.10:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.11:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.1:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.2:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.3:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.4:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.5:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.6:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.7:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.8:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.4.9:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.6.0:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.6.1:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.6.2:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.6.3:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.6.4:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.6.5:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:7.6.6:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:8.0.0:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:8.0.1:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:8.0.2:*:*:*:*:*:*:*
cpe:2.3:a:fortinet:fortiweb:8.0.3:*:*:*:*:*:*:*
Vendors & Products Fortinet
Fortinet fortiweb
References
Metrics cvssV3_1

{'score': 6.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
fortinet
Published
Updated
Apr 16, 2026, 3:55 AM
Reserved
Apr 14, 2026, 10:32 PM
Status
Analyzed
Published
Apr 14, 2026, 11:16 PM
Modified
Jul 24, 2026, 9:10 PM