Cyber Resilience

CVE-2025-21365

LPE in Microsoft 365 Apps

Published
14 January 2025
Modified
01 July 2025
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.0094 58th percentile
Risk Priority 59 floored blend · peak EPSS

Summary

CVE-2025-21365 is a high-severity Untrusted Search Path (CWE-426) vulnerability in Microsoft 365 Apps. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked in the top 42% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to CM-6 (Configuration Settings) and CM-7 (Least Functionality) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Microsoft Office contains a remote code execution vulnerability tracked as CVE-2025-21365. The flaw carries a CVSS 3.1 score of 7.8 with the vector AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H and is associated with CWE-426. It affects Microsoft Office components and permits an attacker to execute arbitrary code when specific local conditions are met.

An attacker can exploit the issue by supplying a malicious file or document that a user opens on a vulnerable system. Because the attack requires user interaction but no prior privileges, successful exploitation grants the attacker full control over confidentiality, integrity, and availability on the affected host.

Microsoft has published official guidance and remediation details for CVE-2025-21365 at the Microsoft Security Response Center advisory page. The current EPSS score of 0.0073 with a recorded peak of 0.0103 reflects persistently low exploitation probability since disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Microsoft Office Remote Code Execution Vulnerability

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1034 Path Interception Persistence
**This technique has been deprecated.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
T1574.001 DLL Stealth
Adversaries may abuse dynamic-link library files (DLLs) in order to achieve persistence, escalate privileges, and evade defenses.
T1574.008 Path Interception by Search Order Hijacking Stealth
Adversaries may execute their own malicious payloads by hijacking the search order used to load other programs.
T1574.007 Path Interception by PATH Environment Variable Stealth
Adversaries may execute their own malicious payloads by hijacking environment variables used to load libraries.
T1574.009 Path Interception by Unquoted Path Stealth
Adversaries may execute their own malicious payloads by hijacking vulnerable file path references.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-43576Same product: Microsoft 365 Apps
CVE-2024-43616Same product: Microsoft 365 Apps
CVE-2026-57097Same vendor: Microsoft
CVE-2023-36898Same vendor: Microsoft
CVE-2024-30100Same vendor: Microsoft
CVE-2024-21384Same product: Microsoft 365 Apps
CVE-2026-25190Same vendor: Microsoft
CVE-2025-60718Same vendor: Microsoft
CVE-2023-21763Same vendor: Microsoft
CVE-2024-26257Same product: Microsoft 365 Apps

Affected Assets

microsoft
365 apps
all versions
microsoft
office long term servicing channel
2024

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Secure baseline settings can enforce absolute, organization-controlled paths for critical resources.

Least-functionality configuration can prohibit unapproved directories or executables from being reachable via search paths.

Engineering principles such as trusted paths, complete mediation, and least privilege directly require hard-coded or validated search paths instead of external ones.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-05 full match
prevents

Preventing execution of unauthorized code directly blocks the malicious binaries that an untrusted search path would load.

PR.PS-06 mostly match
prevents

Secure development practices include avoiding or sanitizing externally influenced search paths in application code.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce safe search paths and restrict environment variables that enable the weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can discover search-path issues but does not itself prevent them in production code.

degrades

Restricting software installation reduces the chance that untrusted binaries or libraries are placed in search paths.

prevents

Secure architecture principles include hard-coded or validated search paths and avoiding reliance on untrusted directories.

prevents

Secure coding standards require absolute paths or integrity-checked search paths, directly mitigating CWE-426.

none

Change-management processes can enforce review of path-handling changes, indirectly lowering risk.

References