Game: Age of Empires II: Definitive Edition Remote Code Execution Vulnerability (CVE-2026-50663)
A relative path traversal flaw in Age of Empires II: Definitive Edition lets a crafted game scenario file write files outside the intended game directory. An attacker who convinces a user to open such a file could place malicious files in unexpected locations and potentially run code on the system.
Originally disclosed on Microsoft
Description
Relative path traversal in Age of Empires II: Definitive Edition Game allows an unauthorized attacker to execute code over a network.
FAQ
How could an attacker exploit the vulnerability? An attacker could create a specially crafted game scenario file and convince a user to open it, which allows the file to write content outside the intended game directory. By doing this, the attacker can place malicious files in unexpected locations, potentially enabling code to run on the affected system.
Age of Empires II: Definitive Edition Game
Age of Empires II: Definitive Edition Game
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the game did not properly validate relative paths inside scenario files, allowing directory traversal when extracting or writing content.
Impact
An attacker could potentially execute code on the affected system, though the text only says this is potential rather than confirmed.
What the attacker needed
Victim opens a crafted scenario file
How it was found
- Create a specially crafted game scenario file.
- Convince a user to open the scenario file in the game.
- The file writes content outside the intended game directory.
- Malicious files are placed in unexpected locations, potentially enabling code execution.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A game scenario file is supposed to stay inside the game's own folder. Here the game did not check the file paths properly, so a malicious scenario could drop files into other folders on the computer. If those files are placed where the system runs them, the attacker could get their code to run.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.