The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-38646

CVE-2021-38646: Microsoft 365 Apps RCE Vulnerability

CVE-2021-38646 is a remote code execution vulnerability in Microsoft Office Access Connectivity Engine within Microsoft 365 Apps that enables attackers to execute arbitrary code. This article covers technical details, impact, and mitigation.

Published: March 4, 2026

CVE-2021-38646 Overview

CVE-2021-38646 is a Remote Code Execution vulnerability in the Microsoft Office Access Connectivity Engine. This vulnerability allows an attacker to execute arbitrary code on a target system when a user opens a specially crafted file. The vulnerability affects multiple versions of Microsoft Office including Microsoft 365 Apps for Enterprise, Office 2013 SP1, Office 2016, and Office 2019.

Critical Impact

This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating confirmed active exploitation in the wild. Successful exploitation could allow attackers to gain full control over affected systems with the same privileges as the logged-in user.

Affected Products

  • Microsoft 365 Apps for Enterprise
  • Microsoft Office 2013 SP1 (including RT edition)
  • Microsoft Office 2016
  • Microsoft Office 2019

Discovery Timeline

  • September 15, 2021 - CVE-2021-38646 published to NVD
  • October 30, 2025 - Last updated in NVD database

Technical Details for CVE-2021-38646

Vulnerability Analysis

The Microsoft Office Access Connectivity Engine Remote Code Execution vulnerability exists in how the Access Connectivity Engine processes certain database files. The Access Connectivity Engine (ACE) is a core component used by Microsoft Office applications to connect to various data sources including Access databases (.accdb, .mdb), Excel spreadsheets, and other ODBC-compliant data sources.

When processing a maliciously crafted file, the engine fails to properly validate input data, leading to conditions that can be leveraged for arbitrary code execution. This vulnerability requires user interaction—specifically, the victim must open a specially crafted file delivered through social engineering tactics such as phishing emails or malicious downloads.

The fact that this vulnerability has been added to CISA's Known Exploited Vulnerabilities catalog underscores the real-world risk and confirms that threat actors have successfully weaponized this flaw in active campaigns.

Root Cause

The root cause of this vulnerability lies in improper input validation within the Microsoft Office Access Connectivity Engine. When the engine processes specially crafted database files or data structures, it fails to adequately verify the integrity and bounds of the input data before processing. This insufficient validation allows attackers to manipulate memory operations or control flow within the application context.

Attack Vector

The attack vector for CVE-2021-38646 is local, requiring an attacker to convince a user to open a malicious file. The attack scenario typically unfolds as follows:

  1. An attacker crafts a malicious Microsoft Office file (such as an Access database or document containing embedded database queries)
  2. The file is delivered to the victim via email attachment, malicious download link, or shared network location
  3. The victim opens the file, triggering the vulnerability in the Access Connectivity Engine
  4. Arbitrary code executes with the privileges of the current user

The vulnerability requires no special privileges to exploit but does require user interaction, making social engineering a critical component of successful exploitation.

Detection Methods for CVE-2021-38646

Indicators of Compromise

  • Unusual process spawning from Microsoft Office applications (WINWORD.EXE, EXCEL.EXE, MSACCESS.EXE)
  • Suspicious child processes launched by acecore.dll or aceodbc.dll modules
  • Unexpected network connections originating from Office processes
  • Creation of suspicious files in temporary directories following Office file access

Detection Strategies

  • Monitor for Office applications loading the Access Connectivity Engine (acecore.dll) followed by anomalous behavior
  • Deploy endpoint detection rules that alert on Office processes executing unexpected child processes or system commands
  • Implement email security controls to scan attachments for known malicious patterns associated with ACE exploitation
  • Enable Microsoft Defender Attack Surface Reduction (ASR) rules to block Office applications from creating executable content

Monitoring Recommendations

  • Enable advanced logging for Microsoft Office applications and Windows Event Logs
  • Monitor process creation events (Event ID 4688) for Office parent processes with unusual command-line parameters
  • Track file system activity in user profile temporary directories during Office file operations
  • Implement network traffic analysis to detect unexpected outbound connections from Office processes

How to Mitigate CVE-2021-38646

Immediate Actions Required

  • Apply Microsoft security updates immediately to all affected Microsoft Office installations
  • Review systems for indicators of compromise, particularly in environments where patching has been delayed
  • Implement network segmentation to limit lateral movement potential if exploitation has occurred
  • Enable Protected View for files originating from the internet or untrusted sources
  • Educate users about the risks of opening unexpected attachments or files from unknown sources

Patch Information

Microsoft has released security updates to address this vulnerability. Organizations should apply the appropriate patches as outlined in the Microsoft Security Advisory CVE-2021-38646. Given the confirmed active exploitation of this vulnerability, patching should be treated as a high priority.

For additional context on the threat landscape, refer to the CISA Known Exploited Vulnerabilities Catalog entry.

Workarounds

  • Enable Protected View for all Office files, which opens documents in a sandboxed read-only mode that prevents automatic code execution
  • Block execution of Office macros and external content through Group Policy settings
  • Implement application whitelisting to prevent unauthorized code execution even if the vulnerability is triggered
  • Deploy email filtering solutions to quarantine suspicious Office file attachments before they reach end users
  • Consider temporarily restricting access to Microsoft Access databases from untrusted sources until patching is complete

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Office

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability42.73%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • CISA Known Exploited Vulnerability CVE-2021-38646
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-38646
  • Related CVEs
  • CVE-2026-26110: Microsoft Office RCE Vulnerability

  • CVE-2026-26109: Microsoft Excel RCE Vulnerability

  • CVE-2026-26113: Microsoft Office RCE Vulnerability

  • CVE-2026-26112: Microsoft Office Excel RCE Vulnerability
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