A pre-authentication HTTP parser, a fixed stack buffer, and an advisory that promises only a crash.

What the advisory says

Fortinet's advisory FG-IR-26-272 is short enough to quote in full:

A stack-based buffer overflow vulnerability [CWE-121] in Fortinet FortiOS WAD proxy may allow an unauthenticated attacker with wad port access to crash proxy or ZTNA sessions via crafted HTTP or HTTPS requests.

CVE-2026-126258, CWE-121, CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H). Published 2026-11-10. No virtual patch. Fortinet credits its own Product Security team, working with a frontier AI model, for finding it internally. Version table: 8.0.0 affected, 8.0.1 fixed; 7.6.7 affected, 7.6.8 fixed; 7.4 and 7.2 not affected.

The mechanism

WAD parses HTTP and HTTPS for the explicit proxy and the ZTNA access proxy. Somewhere in that parser, a stack buffer is filled from request data without a sufficient length check.

  1. The attacker reaches a WAD listener — the explicit proxy port, or the ZTNA access proxy.
  2. A crafted HTTP or HTTPS request arrives. No authentication is required.
  3. The parser copies or formats request data into a fixed-size stack buffer.
  4. The write passes the end of the buffer.
  5. The process crashes, or the saved return address and adjacent stack state are overwritten.

Step 5 is where the vendor stops and inference begins. CWE-121 is a stack write: a canary turns it into an abort; without one, or with an information leak, it is the classic control-flow hijack.

Why "crash" is a floor, not a ceiling

Fortinet has documented a WAD code-execution bug before. FG-IR-26-161 (2026-08-12) describes a stack overflow in the explicit proxy that "may allow an unauthenticated attacker who can bypass stack protection and ASLR to execute arbitrary code or commands in the context of the WAD daemon." The conditions are narrower — Kerberos authentication with SOCKS enabled — and it affects 7.6.1 through 7.6.6, fixed in 7.6.7; 8.0 is not affected.

That is the proof of concept for the class: same daemon, same weakness, same pre-authentication position, and the vendor's own text says code execution. The 8.0.0 advisory describes a different defect with a lower stated impact, but that makes the outcome conditional, not harmless.

Documented: the 8.0.0 overflow, CWE-121, CVSS 7.5, unauthenticated, wad port access, crash of proxy or ZTNA sessions, fix in 8.0.1; the 7.6 RCE under Kerberos-plus-SOCKS and its 7.6.7 fix. Inferred: that the 8.0.0 overflow can be driven to code execution. The advisory does not say so, and no public exploit was retrieved; the inference rests on the bug class and the sibling advisory, not a demonstrated chain.

The deeper flaw behind it

Fixing WAD in 8.0.1 did not make the branch safe. CVE-2026-126256 (FG-IR-26-270) is an out-of-bounds read/write in the FortiOS kernel — CWE-125 and CWE-787 — that Fortinet says may allow an unauthenticated attacker to execute arbitrary code or commands via crafted packets. It affects 8.0.0 through 8.0.1 and is fixed in 8.0.2. The same advisory covers 7.6.0–7.6.7, 7.4.0–7.4.12 and 7.2.0–7.2.13, fixed in 7.6.8, 7.4.13 and 7.2.14.

This is the more fundamental defect because it sits below the daemons. A packet-level corruption in the kernel does not respect the boundary between the proxy plane and the data plane. Fortinet's workarounds — disable the DCE-RPC session helper or block TCP/135, and disable SSL-VPN — reduce the path; they do not fix the parser.

Why it is the fundamental flaw

  • The input is the product. A firewall exists to accept traffic from untrusted networks and decide what to do with it. The parser is the main loop.
  • The code is C. There is no runtime bounds checking unless the programmer writes it. A fixed-size buffer is a promise about input length, and the internet does not make promises.
  • The position is privileged. WAD and the kernel sit inside the device everything else trusts.

The corpus phrase — arbitrary code execution affecting 8.0.0–8.0.1, unpatched on that train — resolves to this: 8.0.0 carries both bugs; 8.0.1 fixes WAD, keeps the kernel bug; 8.0.2 closes both.

Next: Part 8 — version sprawl: the train that leaves bugs behind, and the matrix that tells you where you stand.