Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target with explicit proxy Kerberos+SOCKS enabled
-
DeliveryReach WAD socket over network
-
ExploitObtain memory disclosure to defeat ASLR
-
ExecutionCraft ROP chain bypassing stack canary
-
PersistSend malformed socket overflowing WAD stack buffer
-
ImpactExecute arbitrary code as WAD daemon
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three simultaneous deployment conditions must all be true: (1) the explicit proxy feature must be enabled on the target FortiOS/FortiProxy/FortiPAM device; (2) that explicit proxy must be configured to use Kerberos authentication; and (3) SOCKS proxy support must also be active on the same explicit proxy instance. Additionally, the attacker must independently defeat stack canary protection and ASLR - the CVE description explicitly states both mitigations are present and must be bypassed, meaning exploitation is not possible without a separate memory-disclosure primitive or equivalent capability. Explicit proxy with Kerberos plus SOCKS is a non-default, enterprise-specific configuration pattern uncommon in typical deployments. Limiting factors beyond configuration: restricted to FortiOS 7.6.1-7.6.6 and specific FortiPAM/FortiProxy version ranges; AC:H exploitation complexity; no known public exploit chain. |
| Impact | The vendor CVSS of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) is well-calibrated: AC:H honestly captures the dual bypass requirement (stack canary + ASLR), and PR:N reflects that no credentials are needed once the exploitable configuration is present. EPSS at 0.49% (40th percentile) is low and consistent with the non-trivial exploitation barrier. SSVC rates Automatable as 'no' - confirming that mass-scanning or worm-style exploitation is not feasible due to the configuration prerequisite and mitigation-bypass requirement. However, SSVC Technical Impact is rated 'total', meaning successful exploitation fully compromises the WAD process, which handles all proxy traffic and can expose decrypted session content. Despite no KEV listing, Fortinet appliances are high-priority targets for nation-state threat actors who routinely invest in multi-stage exploit chains. The narrow configuration requirement (explicit proxy + Kerberos + SOCKS simultaneously) substantially reduces the exploitable population but does not eliminate risk for enterprises using Kerberos-authenticated proxy architectures. |
| Exploit ScenarioDerived | An advanced attacker identifies a Fortinet perimeter device configured for explicit proxy with both Kerberos authentication and SOCKS enabled, then sends crafted socket data designed to overflow the WAD stack buffer. The attacker must first obtain a memory address leak or deploy a ROP chain to defeat ASLR and stack canary protections before the overflow yields code execution - placing this firmly in the skilled/nation-state attacker category. No public exploit code exists at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 08, 2026
Stack-based buffer overflow in Fortinet FortiOS, FortiProxy, and FortiPAM allows unauthenticated remote attackers to execute arbitrary code or commands within the WAD (Web Application Daemon) process via crafted sockets - but only on devices where the explicit proxy is simultaneously configured with Kerberos authentication and SOCKS enabled. Exploitation further requires defeating stack canary protection and ASLR, elevating real-world attack complexity well above the raw CVSS base score implies. No public exploit or active exploitation has been confirmed; Fortinet PSIRT published advisory FG-IR-26-161 disclosing the issue.
Earlier versions of this analysis (1)
Stack-based buffer overflow in the WAD (Web Application Detection) daemon of Fortinet FortiOS 7.6.1-7.6.6, FortiProxy across multiple 7.x branches, and FortiPAM across numerous 1.x releases enables remote unauthenticated code execution in the daemon's context. Exploitation requires a non-default but operationally plausible configuration - explicit proxy with both Kerberos authentication and SOCKS enabled - and additionally demands the attacker defeat stack protection and ASLR. A proof-of-concept exploit is confirmed by the CVSS temporal metric (E:P) and an official fix is available (RL:O). Active exploitation has not been confirmed by CISA KEV at time of analysis.
RemediationAI
Patch available per vendor advisory FG-IR-26-161 (https://fortiguard.fortinet.com/psirt/FG-IR-26-161) - upgrade FortiOS beyond 7.6.6, FortiProxy beyond 7.0.23 / 7.2.16 / 7.4.11 / 7.6.4, and FortiPAM beyond the respective 1.x affected ceilings per the advisory; exact fixed release numbers should be verified directly from the Fortinet PSIRT page. As an immediate compensating control, disabling either Kerberos authentication or SOCKS support on the explicit proxy configuration eliminates the exploitable code path - removing either condition is sufficient, though this may break dependent proxy authentication workflows that rely on Kerberos SSO. If neither can be disabled, restrict network access to the proxy ports via perimeter ACLs or firewall policy to limit the attacker population, accepting that this reduces but does not eliminate exposure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The WAD daemon is Fortinet's Web Application Daemon responsible for explicit proxy processing, SSL/TLS inspection, and application-layer filtering across FortiOS, FortiProxy, and FortiPAM. CWE-121 (Stack-Based Buffer Overflow) indicates a fixed-size stack buffer is overwritten during socket data processing in the explicit proxy code path - specifically the intersection of Kerberos authentication handling and SOCKS proxy negotiation. The CPE strings (cpe:2.3:a:fortinet:fortios, cpe:2.3:a:fortinet:fortipam, cpe:2.3:a:fortinet:fortiproxy) confirm all three product lines share the vulnerable WAD codebase. The CVE description explicitly states that stack protection (canaries) and ASLR must be bypassed, meaning the binary has modern mitigations compiled in - exploitation requires either a separate information-disclosure primitive to leak addresses or a ROP/heap-spray technique to defeat ASLR.
Know when Fortios gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
AV:N for network socket attack; AC:H for mandatory ASLR and stack-canary bypass plus specific Kerberos+SOCKS prerequisite; PR:N since no credentials needed; C/I/A:H for full WAD daemon compromise.
Primary rating from Vendor (fortinet).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
A Stack-based Buffer Overflow vulnerability [CWE-121] vulnerability in Fortinet FortiOS 7.6.1 through 7.6.6 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 via crafted sockets, only if the explicit proxy is configured with Kerberos authentication and SOCKS enabled.
Executive ViewAI
Fortinet FortiOS, FortiProxy, and FortiPAM devices with explicit proxy, Kerberos authentication, and SOCKS enabled face a remote code execution vulnerability from unauthenticated attackers; no public exploit identified at time of analysis. No vendor patch is currently available, creating immediate exposure for affected organizations. While exploitability is constrained by specific configuration requirements, the lack of remediation and CVSS 8.1 severity demand urgent attention.
Until vendor patch is available: disable SOCKS protocol if not operationally required; disable Kerberos authentication on explicit proxy if alternative methods are available; restrict network access to WAD (Web Application Daemon) process through firewall rules; enable logging and monitoring for WAD process crashes or suspicious socket activity; prepare change-control procedures for rapid deployment of Fortinet security updates once released.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
An authentication bypass using an alternate path or channel [CWE-288] in Fortinet FortiOS version 7.2.0 through 7.2.1 an
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
A out-of-bounds write in Fortinet FortiOS versions 7.4.0 through 7.4.2, 7.2.0 through 7.2.6, 7.0.0 through 7.0.13, 6.4.0
A heap-based buffer overflow vulnerability [CWE-122] in FortiOS version 7.2.4 and below, version 7.0.11 and below, versi
FortiOS SSL-VPN contains an improper authentication vulnerability that allows users to bypass two-factor authentication
Fortinet FortiAnalyzer before 5.0.12 and 5.2.x before 5.2.5; FortiSwitch 3.3.x before 3.3.3; FortiCache 3.0.x before 3.0
Buffer overflow in the Cookie parser in Fortinet FortiOS 4.x before 4.1.11, 4.2.x before 4.2.13, and 4.3.x before 4.3.9
Remote code execution in Fortinet FortiOS (6.4 through 7.6.3) and FortiSwitchManager (7.0.x/7.2.x) lets an attacker run
Path traversal vulnerability in Fortinet FortiOS, FortiProxy, FortiPAM, and FortiSwitchManager allows authenticated admi
Cross-site scripting (XSS) vulnerability in the sslvpn login page in Fortinet FortiOS 5.2.x before 5.2.3 allows remote a
FortiOS and FortiProxy contain an authentication bypass allowing unauthenticated attackers with knowledge of upstream/do
An Exposure of Sensitive Information to an Unauthorized Actor vulnerability [CWE-200] vulnerability in Fortinet FortiOS
EUVD-2026-57191
GHSA-32v4-7g7v-4c6p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB