Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2021-1366

CVE-2021-1366: Cisco AnyConnect Client RCE Vulnerability

CVE-2021-1366 is a DLL hijacking RCE flaw in Cisco AnyConnect Secure Mobility Client for Windows that enables authenticated local attackers to execute code with SYSTEM privileges. This article covers technical details, affected versions, and mitigations.

Published: February 25, 2026

CVE-2021-1366 Overview

A vulnerability exists in the interprocess communication (IPC) channel of Cisco AnyConnect Secure Mobility Client for Windows that could allow an authenticated, local attacker to perform a DLL hijacking attack on an affected device. This vulnerability specifically affects systems where the VPN Posture (HostScan) Module is installed on the AnyConnect client.

The vulnerability stems from insufficient validation of resources that are loaded by the application at run time. An attacker could exploit this vulnerability by sending a crafted IPC message to the AnyConnect process, potentially achieving arbitrary code execution with SYSTEM privileges on the affected machine.

Critical Impact

Successful exploitation enables local privilege escalation to SYSTEM, allowing complete compromise of the affected Windows system through DLL hijacking in a widely-deployed enterprise VPN client.

Affected Products

  • Cisco AnyConnect Secure Mobility Client for Windows (with VPN Posture/HostScan Module)
  • cisco anyconnect_secure_mobility_client

Discovery Timeline

  • 2021-02-17 - CVE CVE-2021-1366 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2021-1366

Vulnerability Analysis

This vulnerability is classified under CWE-427 (Uncontrolled Search Path Element) and CWE-347 (Improper Verification of Cryptographic Signature). The flaw exists within the IPC channel used by Cisco AnyConnect Secure Mobility Client for Windows, specifically when the VPN Posture (HostScan) Module is installed.

The core issue lies in insufficient validation of resources loaded by the application at runtime. When the AnyConnect process handles IPC messages, it fails to properly verify the legitimacy and integrity of dynamically loaded libraries. This allows an authenticated local attacker to craft malicious IPC messages that direct the application to load attacker-controlled DLL files.

Since the AnyConnect client runs with elevated privileges, successful DLL hijacking results in code execution with SYSTEM-level privileges, representing a significant local privilege escalation attack vector in enterprise environments.

Root Cause

The root cause of this vulnerability is inadequate validation within the IPC message handling mechanism of the Cisco AnyConnect client. Specifically, the application does not properly verify the cryptographic signatures or path integrity of DLL files referenced in IPC communications. This insufficient validation allows an attacker to inject a malicious DLL path that the application subsequently loads and executes with its elevated privileges.

The presence of the VPN Posture (HostScan) Module is a prerequisite for exploitation, as this module introduces the vulnerable IPC handling code path.

Attack Vector

The attack requires local access and valid credentials on the Windows system. The exploitation process involves:

  1. The attacker authenticates to the Windows system with a low-privileged user account
  2. The attacker places a malicious DLL in a location accessible by the AnyConnect process
  3. A crafted IPC message is sent to the running AnyConnect process
  4. The vulnerable IPC handler processes the message and loads the attacker-controlled DLL
  5. The malicious code executes with SYSTEM privileges, allowing full system compromise

This represents a local privilege escalation scenario where an attacker with limited user access can escalate to full administrative control of the affected system.

Detection Methods for CVE-2021-1366

Indicators of Compromise

  • Unexpected DLL files appearing in directories accessible to the AnyConnect process
  • Anomalous IPC communications to the vpnagent.exe or related AnyConnect processes
  • Unusual process spawning or code execution originating from AnyConnect components with SYSTEM privileges
  • Registry modifications associated with DLL search order manipulation

Detection Strategies

  • Monitor for unsigned or suspiciously-signed DLLs being loaded by Cisco AnyConnect processes
  • Implement application whitelisting to detect unauthorized DLL loading attempts
  • Deploy endpoint detection rules to identify privilege escalation patterns from AnyConnect processes
  • Audit IPC communications to AnyConnect services for anomalous message patterns

Monitoring Recommendations

  • Enable detailed Windows Security Event logging for process creation and DLL loading events
  • Configure Sysmon to capture DLL load events (Event ID 7) for AnyConnect-related processes
  • Monitor for file creation events in directories within the DLL search path of AnyConnect components
  • Implement SentinelOne Singularity platform for real-time behavioral detection of DLL hijacking attempts

How to Mitigate CVE-2021-1366

Immediate Actions Required

  • Update Cisco AnyConnect Secure Mobility Client to the latest patched version immediately
  • Review systems for any signs of compromise before applying patches
  • Restrict user permissions on directories within the DLL search path of AnyConnect
  • Consider temporarily disabling the VPN Posture (HostScan) Module if not business-critical until patching is complete

Patch Information

Cisco has released security updates to address this vulnerability. Administrators should consult the Cisco Security Advisory for detailed patching instructions and affected version information.

Organizations should prioritize patching based on the presence of the VPN Posture (HostScan) Module and exposure of affected endpoints.

Workarounds

  • Restrict write permissions on directories in the AnyConnect DLL search path to administrators only
  • Implement application control policies to prevent unauthorized DLL loading
  • Remove the VPN Posture (HostScan) Module if it is not required for your deployment
  • Deploy endpoint protection solutions capable of detecting DLL hijacking behavior
bash
# Example: Restrict permissions on AnyConnect installation directory
icacls "C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client" /inheritance:r
icacls "C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client" /grant:r "BUILTIN\Administrators:(OI)(CI)F"
icacls "C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client" /grant:r "NT AUTHORITY\SYSTEM:(OI)(CI)F"
icacls "C:\Program Files (x86)\Cisco\Cisco AnyConnect Secure Mobility Client" /grant:r "BUILTIN\Users:(OI)(CI)RX"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechCisco Anyconnect

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.80%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-347

  • CWE-427
  • Vendor Resources
  • Cisco Security Advisory
  • Related CVEs
  • CVE-2025-20271: Cisco Meraki AnyConnect VPN DoS Flaw

  • CVE-2023-20241: Cisco AnyConnect Secure Client DoS Flaw

  • CVE-2023-20240: Cisco AnyConnect Secure Mobility DoS Flaw

  • CVE-2023-20178: Cisco AnyConnect Privilege Escalation Bug
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English