# CVE-2026-40688: Out-of-bounds write in FortiWeb

- Vendor: Fortinet, FortiWeb
- Severity: MEDIUM (CVSS 3.1 6.7)
- Exploited (CISA KEV): not listed
- EPSS: 6.7% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-127, https://fortiguard.fortinet.com/psirt/FG-IR-26-127
- Published: 2026-04-14; updated: 2026-04-15
- Page: https://patchtonight.com/cve/CVE-2026-40688/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiWeb 8.0.0 to 8.0.3 | 8.0.4 or later |
| FortiWeb 7.6.0 to 7.6.6 | 7.6.7 or later |
| FortiWeb 7.4.0 to 7.4.11 | 7.4.12 or later |

## The vendor's 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.

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-26-127)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
