Skip to content
Path traversal Advisory Intermediate CVE-2026-50663

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.

Rick de Jager Follow

Originally disclosed on Microsoft

High 8.8 View original

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

The original report as published on the Microsoft Security Response Center, by Rick de Jager. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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

  1. Create a specially crafted game scenario file.
  2. Convince a user to open the scenario file in the game.
  3. The file writes content outside the intended game directory.
  4. 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.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.