Microsoft Teams Remote Code Execution Vulnerability (CVE-2026-65768)
Microsoft Teams for Android contains a path traversal flaw that lets an unauthorised attacker execute code over the network. The attacker must convince a user to open a specially crafted file to trigger the remote code execution.
Originally disclosed on Microsoft
Description
Improper limitation of a pathname to a restricted directory ('path traversal') in Microsoft Teams for Android allows an unauthorized attacker to execute code over a network.
FAQ
According to the CVSS metric, the attack vector is network (AV:N) and user interaction is required (UI:R). What is the target context of the remote code execution? This attack requires a user to open a specially crafted file from the attacker to initiate remote code execution.
Microsoft Teams for Android
Microsoft Teams for Android
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 app fails to properly restrict file paths when handling a crafted file, allowing traversal outside the intended directory.
Impact
An attacker could execute code on the victim's device, but only if the user opens a specially crafted file.
What the attacker needed
Microsoft Teams for Android; victim opens a crafted file
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 path traversal bug means a program can be tricked into using a file path that points outside the folder it should stay in. Here, opening a malicious file in Microsoft Teams on Android could let an attacker run their own code on the phone. The victim has to open the file, so it is not fully automatic.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.