CVE-2025-21365 Microsoft Office Remote Code Execution Vulnerability
An attacker can execute arbitrary code on systems running Microsoft Office by exploiting an untrusted search path vulnerability.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-21365?
CVE-2025-21365 is a high-severity code injection vulnerability in Microsoft 365 Apps, published on 14 Jan 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Microsoft Office Remote Code Execution Vulnerability
Weakness: CWE-426
Which versions are affected by CVE-2025-21365?
It affects 2 products.
Products include Microsoft 365 Apps, Microsoft Office Long Term Servicing Channel.
How do I fix CVE-2025-21365?
No fix has been published for CVE-2025-21365 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-21365 being exploited?
There is no known exploitation of CVE-2025-21365 in the wild and no public exploit code.
Other vulnerabilities in Microsoft 365 Apps
- CVE-2024-21413 Microsoft Outlook Improper Input Validation
- CVE-2023-23397 Microsoft Office Outlook Privilege Escalation
- CVE-2024-38189 Microsoft Project Remote Code Execution Vulnerability
- CVE-2023-35311 Microsoft Outlook Security Feature Bypass
- CVE-2026-21514 Microsoft Office Word Reliance on Untrusted Inputs in a Security Decision
Sources
Also known as GHSA-57v2-9qhm-9cq9.