CVE-2026-40688 Memory corruption in FortiWeb
A remote privileged attacker can execute arbitrary code via crafted HTTP requests due to an out-of-bounds write in FortiWeb.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-40688?
CVE-2026-40688 is a medium-severity memory corruption vulnerability in Fortinet Fortiweb, published on 14 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2026-40688?
It affects 1 product.
Products include Fortinet Fortiweb.
How do I fix CVE-2026-40688?
No fix has been published for CVE-2026-40688 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-40688 being exploited?
There is no known exploitation of CVE-2026-40688 in the wild and no public exploit code.
Other vulnerabilities in Fortinet Fortiweb
Sources
Also known as GHSA-m3qh-6w2c-jgrx.