Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-21365: CWE-426: Untrusted Search Path in Microsoft Microsoft 365 Apps for Enterprise

0
High
VulnerabilityCVE-2025-21365cvecve-2025-21365cwe-426
Published: Tue Jan 14 2025 (01/14/2025, 18:04:09 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Microsoft 365 Apps for Enterprise

Description

Microsoft Office Remote Code Execution Vulnerability

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 23:39:10 UTC

Technical Analysis

CVE-2025-21365 is a vulnerability identified in Microsoft 365 Apps for Enterprise version 16.0.1, categorized under CWE-426 (Untrusted Search Path). This vulnerability arises when the application improperly searches for and loads executable code or libraries from directories that are not securely controlled, allowing an attacker to place malicious files in these locations. When a user opens or interacts with a crafted document or file, the application may load the attacker's code, leading to remote code execution (RCE). The CVSS 3.1 base score of 7.8 reflects a high severity, with an attack vector of local (AV:L), low attack complexity (AC:L), no privileges required (PR:N), but requiring user interaction (UI:R). The scope is unchanged (S:U), and the impact on confidentiality, integrity, and availability is high (C:H/I:H/A:H). Although no exploits are currently known in the wild, the vulnerability poses a significant risk due to the extensive deployment of Microsoft 365 in enterprise environments. The vulnerability is particularly dangerous because it can be exploited without elevated privileges, relying solely on user interaction, such as opening a malicious document. The lack of available patches at the time of publication necessitates immediate mitigation efforts. This vulnerability highlights the risks associated with untrusted search paths where applications load resources from directories that may be writable or controlled by attackers, enabling code execution in the context of the user.

Potential Impact

The impact of CVE-2025-21365 is substantial for organizations globally, especially those heavily reliant on Microsoft 365 Apps for Enterprise. Successful exploitation can lead to full remote code execution, allowing attackers to execute arbitrary code with the privileges of the user. This can result in data theft, installation of persistent malware, lateral movement within networks, and disruption of business operations. The high impact on confidentiality, integrity, and availability means sensitive corporate data and critical systems could be compromised or destroyed. Since the attack requires only user interaction and no elevated privileges, phishing campaigns or malicious document distribution could be effective attack vectors. Enterprises with large user bases and critical data processed through Microsoft 365 are at heightened risk, potentially leading to significant financial losses, reputational damage, and regulatory penalties. The absence of known exploits currently provides a window for proactive defense, but the widespread use of the affected software increases the likelihood of future exploitation attempts.

Mitigation Recommendations

Organizations should immediately prepare to deploy patches from Microsoft once they become available for version 16.0.1 of Microsoft 365 Apps for Enterprise. Until patches are released, implement strict application whitelisting to prevent unauthorized executables from running, especially from user-writable directories. Enforce the use of controlled and trusted directories for application resource loading by reviewing and hardening environment variables such as PATH. Educate users to avoid opening unsolicited or suspicious documents, particularly from untrusted sources, to reduce the risk of user interaction exploitation. Employ endpoint detection and response (EDR) solutions to monitor for anomalous behaviors indicative of exploitation attempts. Regularly audit and restrict write permissions on directories commonly used by Microsoft 365 to prevent attackers from placing malicious files. Network segmentation and least privilege principles should be enforced to limit the spread of potential compromises. Finally, maintain up-to-date backups and incident response plans tailored to ransomware and code execution attacks.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
microsoft
Date Reserved
2024-12-11T00:29:48.359Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68c0bd539ed239a66badec38

Added to database: 9/9/2025, 11:50:43 PM

Last enriched: 2/26/2026, 11:39:10 PM

Last updated: 3/24/2026, 2:53:28 PM

Views: 299

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses