Skip to content

CVE-2026-22153: FortiOS LDAP Authentication Bypass in Agentless VPN & FSSO

HERMES

HERMES THREAT SCORE & LDAP PERIMETER BYPASS RISK

Target: Fortinet FortiOS LDAP Auth Engine (Agentless VPN / FSSO)
Confidence: 97%
85 / 100
HIGH

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 18 / 20
Threat Activity 14 / 20
Weaponization 16 / 20
Exposure 18 / 20
Prevalence 19 / 20
Impact 18 / 20
Exploit Maturity 15 / 20
Attack Chain Potential 19 / 20
βš–οΈ Divergence & Operational Rationale

Hermes rates CVE-2026-22153 at HTS 85 (High). Bypassing LDAP directory controls allows unauthenticated external threat actors to gain authorized network access or establish VPN sessions without valid domain credentials when directory servers accept specific bind modes.

πŸ•ΈοΈ Connected Knowledge Graph & Provenance

CVE-2026-22153: FortiOS LDAP Authentication Bypass in Agentless VPN & FSSOVULNERABILITY

Connected Nodes: 1
Active Relationships (Outgoing)
→ affectsPRODUCTFortinet FortiOS Gateway
98% VERY_HIGH

Software platform affected by security vulnerabilities and agentic attack patterns.

πŸ” Why is this related? (Evidence & Provenance)

“Confirmed security vulnerability in Fortinet FortiOS Gateway documented in Hermes dossier.”

Supporting Verified Evidence:

MetricTechnical SpecificationOperational Impact
CVE IdentifierCVE-2026-22153Standardized vulnerability identifier
Vendor / SoftwareFortinet / FortiOS 7.6Enterprise firewall & VPN gateway
Affected ReleasesFortiOS 7.6.0 through 7.6.47.6 release train
Fixed ReleaseFortiOS 7.6.5Vendor security release
Associated CWECWE-305: Authentication Bypass by Primary WeaknessIdentity verification failure
Exposure VectorNetwork (AV:N) / Agentless VPN & FSSO Web PortalsRemote unauthenticated attacker

The flaw stems from flawed interpretation of LDAP server responses within the FortiOS authentication daemon (authd).

CVE-2026-22153 LDAP Authentication Bypass Sequence:
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Unauthenticated Attacker β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β”‚ Authentication request with blank password or
β”‚ crafted LDAP attributes
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ FortiOS authd Engine β”‚
β”‚ - Forwards bind request to remote LDAP server β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚
β”‚ LDAP response: Success on Anonymous Bind / Partial
β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Flawed Return Code Handling β”‚
β”‚ - Treats non-error code as positive password match β”‚
β”‚ - Grants authorized VPN session or FSSO profile β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

When the upstream LDAP directory does not reject anonymous binds or returns partial success states for unrecognized DNs, FortiOS interpreted the absence of an explicit LDAP_INVALID_CREDENTIALS code as successful authentication.


  1. Apply Firmware Upgrade:
    Upgrade FortiOS 7.6 appliances to 7.6.5 or higher.
  2. Harden LDAP Server Configuration:
    Ensure all corporate LDAP and Active Directory servers explicitly forbid anonymous binds:
    config user ldap
    edit "Corp-AD"
    set secure ldaps
    set port 636
    set bind-type regular
    next
    end
  3. Audit Active VPN Sessions:
    Review current active VPN sessions for logins with unmapped or empty username profiles:
    diagnose vpn ssl list