From a Crafted Request to a Trusted Firewall

Site Admin · 3 Dec 2026 · Security Appliances

Four entry points, one destination: the configuration tree of the device both sides of the network trust. The chain is short because the firewall is already inside the perimeter.

Four entry points, one destination: the configuration tree of the device that both sides of the network trust. The chain is short because the firewall is already inside the perimeter.

Four ways in

Each entry point has a precondition; each ends in the same place.

Entry Authentication Precondition Documented outcome
WAD proxy overflow none wad port reachable crash proxy/ZTNA sessions
Kernel OOB write none crafted packets reach the vulnerable path arbitrary code or command execution
OSPF auth bypass none adjacent segment, OSPF enabled inject link-state advertisements
sshd path traversal none GPC OS Login enabled authentication bypass

The kernel row is the most severe as written: Fortinet's impact statement is code execution, with no credentials required.

The WAD chain

  1. Reach the listener. The explicit proxy is enabled on an interface, or the ZTNA access proxy is published. Both are internet-facing in the deployments that use them.
  2. Send a crafted request. HTTP or HTTPS, no authentication, targeting the parsing path rather than a valid URL.
  3. Overflow the stack buffer. The parser writes past a fixed-size object on the stack.
  4. Crash or redirect. With a canary, the process aborts and the proxy/ZTNA sessions drop. Without one — or with an information leak that defeats ASLR — control flow moves to attacker-chosen code.
  5. Run as WAD. The payload executes in the web application daemon's context.
  6. Read the device. The configuration tree holds interface addresses, routing, policy, admin accounts, IPsec pre-shared keys, SSL-VPN configuration, and often credentials for upstream services.
  7. Change the device. Add an admin, enrol a VPN user, rewrite a policy, or use the firewall's own position to reach segments that trust it.

The kernel chain

CVE-2026-126256 is shorter. Crafted packets reach an out-of-bounds read/write in the kernel; the attacker converts the corruption into code execution; the code runs below the daemons, with the device's full privilege. There is no authentication step and no user interaction. Fortinet's workarounds — disable the DCE-RPC session helper or block TCP/135, and disable SSL-VPN — describe the reachable paths the advisory is worried about. They are path reductions, not fixes.

This is also why 8.0.1 is not a safe destination. An operator who upgraded from 8.0.0 to 8.0.1 closed the WAD overflow and kept the kernel bug. The version number moved; the exposure did not.

The OSPF and sshd chains

OSPF is trust-by-neighbour. A router accepts link-state advertisements from an authenticated neighbour and recalculates the topology. FG-IR-26-267 lets an unauthenticated attacker on an adjacent segment broadcast LSAs. The result is not code execution; it is routing control — advertise a cheaper path, blackhole a prefix, or steer traffic through a segment the attacker can observe. On a firewall, routing control is policy control.

FG-IR-26-269 is quieter. A crafted credential bypasses SSH authentication when GPC OS Login is enabled. There is no crash and no malformed packet — just a successful login from an address that has never logged in before. If admin login sources are not baselined, it looks like an administrator.

From one device to the estate

The per-device blast radius is complete: policy, keys, credentials, and a trusted position on both sides of the perimeter. The estate radius depends on two relationships. If the FortiGate is the SSL-VPN concentrator, the attacker inherits every remote user's session and can enrol their own accounts. If it is managed by FortiManager, the attacker may reach the management plane for the fleet — which is why the FGFM flaw, CVE-2026-126261, matters more than its individual CVSS. One manager is a policy push to every device it manages.

What the chain needs

Every step depends on the device being reachable in a role it did not have to be running: a proxy or ZTNA listener, a path to the kernel parser, OSPF on an adjacent segment, GPC OS Login. The fastest way to break the chain is not a better signature; it is to turn off the role that provides the entry point.

Next: Part 10 — the way out: patch the train, shrink the surface, and the mitigation bundle that ships with this series.