CVE-2025-25255 Overview
CVE-2025-25255 is an improperly implemented security check [CWE-358] affecting Fortinet FortiOS and FortiProxy. The flaw allows an authenticated proxy user to bypass the domain fronting protection feature using crafted HTTP requests. The vulnerability stems from incomplete validation logic in the proxy engine's domain-fronting enforcement path.
Affected deployments include FortiOS 7.6.0 through 7.6.3 and multiple FortiProxy branches spanning 7.0.1 through 7.6.3. Successful exploitation compromises integrity of policy enforcement by permitting traffic that should be blocked by the domain fronting control.
Critical Impact
Authenticated proxy users can circumvent domain fronting protection, enabling policy evasion and potential command-and-control channel concealment through crafted HTTP requests.
Affected Products
- Fortinet FortiOS 7.6.0 through 7.6.3
- Fortinet FortiProxy 7.6.0 through 7.6.3 and 7.4.0 through 7.4.11
- Fortinet FortiProxy 7.2 (all versions) and 7.0.1 through 7.0.22
Discovery Timeline
- 2025-10-14 - CVE-2025-25255 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-25255
Vulnerability Analysis
Domain fronting is a technique where an attacker uses a permitted domain in the TLS Server Name Indication (SNI) or HTTP Host header while directing traffic to a different backend host. Fortinet's proxy stack includes a protection feature designed to detect and block this mismatch.
CVE-2025-25255 defeats that control. The proxy engine fails to consistently enforce the intended check when parsing specifically crafted HTTP requests. As a result, the SNI value and inner Host header can diverge without triggering the block action.
The impact is limited to integrity of proxy policy enforcement. Confidentiality and availability are not directly affected, and no code execution is possible. However, the bypass can enable exfiltration or command-and-control traffic to hide behind allowlisted domains.
Root Cause
The root cause is classified as [CWE-358]: improperly implemented security check for standard. The domain fronting protection logic does not correctly reject all request shapes that violate the intended standard behavior, leaving edge cases unhandled.
Attack Vector
The attack is network-based and requires low privileges — the attacker must be an authenticated proxy user. No user interaction is required. The attacker crafts HTTP requests that manipulate host indicators to slip past the domain fronting inspection routine.
No public proof-of-concept exploit is available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. See the Fortinet Security Advisory FG-IR-24-372 for vendor technical details.
Detection Methods for CVE-2025-25255
Indicators of Compromise
- Proxy log entries showing mismatched TLS SNI values and HTTP Host headers for the same session.
- Outbound HTTPS sessions to allowlisted CDN or cloud-hosted domains followed by unusual data volumes.
- Authenticated proxy users generating requests with abnormal or malformed Host header formatting.
Detection Strategies
- Inspect FortiProxy and FortiOS proxy logs for SNI-to-Host header divergence on outbound HTTPS connections.
- Correlate proxy user authentication events with destination domains that historically front C2 infrastructure.
- Alert on HTTP requests containing unusual Host header encoding, duplicated headers, or non-standard whitespace.
Monitoring Recommendations
- Enable verbose proxy logging on affected FortiOS and FortiProxy instances and forward events to a central SIEM.
- Baseline normal SNI and Host header pairings per user and flag statistical outliers.
- Track proxy policy hit counts to detect drops in domain fronting rule matches that may indicate bypass activity.
How to Mitigate CVE-2025-25255
Immediate Actions Required
- Upgrade FortiOS and FortiProxy to fixed releases as specified in Fortinet Security Advisory FG-IR-24-372.
- Audit proxy user accounts and remove or restrict any accounts that do not require outbound HTTPS access.
- Review recent proxy logs for evidence of SNI and Host header mismatches prior to patching.
Patch Information
Fortinet has published remediation guidance in advisory FG-IR-24-372. Administrators should follow the vendor's upgrade path for each affected branch: FortiOS 7.6.x, FortiProxy 7.6.x, 7.4.x, 7.2.x, and 7.0.x. Consult the advisory for the specific fixed versions applicable to each deployment.
Workarounds
- Restrict outbound proxy egress to a strict allowlist of required destinations, reducing the value of any successful bypass.
- Enforce TLS deep inspection where legally and operationally permitted to detect Host header manipulation.
- Require additional authentication or conditional access controls for proxy users accessing high-risk destination categories.
# Configuration example
# Verify current FortiOS version and upgrade per FG-IR-24-372
get system status | grep Version
execute restore image <fixed-firmware-image>
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

