Workaround to remove the Microsoft Teams old version at WindowsApps folder

Issue Summary

During our analysis, we identified that multiple versions of Microsoft Teams may coexist on the same machine after upgrading to the new Teams application.

  • Microsoft Teams (Work or School): Updated correctly to the latest version 25227.203.3915.2444.
  • Microsoft Teams (Old Version): Previous versions are not removed automatically by Microsoft after upgrade.
    • Example: 23119.303.2080.2726
    • Or version is less than 25122.1415.3698.6812

These old versions remain under the path: C:\Program Files\WindowsApps\MicrosoftTeams_<version>

We detect these versions as vulnerable and flags them under:

  • NVD: CVE-2025-53783

Root Cause

  • Microsoft upgrade process does not consistently remove legacy Teams folders from WindowsApps.
  • This leads to outdated binaries being present and detected as vulnerable.

Temporary Workaround

A script has been prepared to mitigate the issue by moving old Teams folders.

Steps:

  1. Download the script to the local machine. Script: Script_RemoveMSTeamOldVersion.bat

  2. Run the script with Administrator privileges.

    • The script will only move old Microsoft Teams version folders.
  3. Recheck compliance status from the tray icon

⚠️ Note: This is a temporary workaround and should not be considered a permanent fix.

Next Steps

We are currently working to develop a fix for this issue and will include official uninstall support from the endpoint.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard