Home › Intelligence › Brief
VULNERABILITY BRIEF 🔴 Critical Vulnerability

Critical Remote Code Execution in Fortinet FortiWeb (CVE‑2026‑40688) – Out‑Of‑Bounds Write Vulnerability

A remote code execution flaw (CVE‑2026‑40688) in Fortinet FortiWeb’s `cat_cgi_paths` module allows authenticated attackers to execute arbitrary code as root. The vulnerability has a CVSS score of 8.8 and has been patched by Fortinet. Third‑party risk teams must verify patch deployment and reassess any services protected by vulnerable FortiWeb appliances.

Verisq™ Intelligence · 📅 April 16, 2026 · 📰 zerodayinitiative.com
🔴
Severity
Critical
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
2 sector(s)
✅
Actions
4 recommended
📰
Source
zerodayinitiative.com

Critical Remote Code Execution in Fortinet FortiWeb (CVE‑2026‑40688) – Out‑Of‑Bounds Write Vulnerability

What It Is – Fortinet FortiWeb’s cat_cgi_paths module contains an out‑of‑bounds write bug that allows an authenticated remote attacker to execute arbitrary code with root privileges.

Exploitability – The flaw requires valid credentials but can be triggered over the network (AV:N). A proof‑of‑concept has been published by the Zero Day Initiative; the vendor has released a patch. CVSS 8.8 (Critical).

Affected Products – FortiWeb Web Application Firewall (all supported versions prior to the April 2026 security update).

TPRM Impact – FortiWeb is widely deployed as a front‑line WAF for SaaS platforms, e‑commerce sites, and government portals. A compromised WAF can expose downstream applications, leak sensitive data, or be leveraged for broader supply‑chain attacks.

Recommended Actions –

  • Verify that the FortiWeb instance is running a version ≥ the April 2026 patch (FG‑IR‑26‑127).
  • If patching is not immediately possible, restrict administrative access to trusted IP ranges and enforce multi‑factor authentication.
  • Conduct a rapid inventory of all third‑party services that rely on FortiWeb for traffic inspection; prioritize re‑assessment of any that handle regulated data.
  • Monitor FortiWeb logs for anomalous cat_cgi_paths requests and enable FortiGuard IPS signatures for CVE‑2026‑40688.

Source: Zero Day Initiative Advisory ZDI‑26‑266

📰 Original Source
http://www.zerodayinitiative.com/advisories/ZDI-26-266/ ↗

This Verisq Intelligence Brief is an independent analysis. Read the original reporting at the link above.

Vulnerability exposure

Is this CVE in your supply chain?

Verisq matches published vulnerabilities against the software your vendors run, so you know which relationships this touches before the next review.

See vendor exposure →