CVE-2026-62804 Microsoft Word Remote Code Execution Vulnerability

High 7.8 Published Updated

An attacker can execute arbitrary code locally by exploiting external control of file names or paths in Microsoft Word.

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-2026-62804?

CVE-2026-62804 is a high-severity path traversal vulnerability in Microsoft 365 Apps, published on 8 Sep 2026. 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

External control of file name or path in Microsoft Office Word allows an unauthorized attacker to execute code locally.

Weakness: CWE-73

Which versions are affected by CVE-2026-62804?

It affects 6 products.

Products include Microsoft 365 Apps, Microsoft Microsoft 365, Microsoft Office 2016, Microsoft Office 2019, Microsoft Office 2021, Microsoft Office 2024.

How do I fix CVE-2026-62804?

No fix has been published for CVE-2026-62804 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-62804 being exploited?

There is no known exploitation of CVE-2026-62804 in the wild and no public exploit code.

All Microsoft 365 Apps vulnerabilities

Sources

Also known as GHSA-xc87-v37h-p529.

Is CVE-2026-62804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free