There was an argument injection vulnerability in Sourcetree for Windows via filenames in Mercurial repositories. An attacker with permission to commit to a Mercurial repository linked in Sourcetree for Windows is able to exploit this issue to gain code execution on the system.
- Versions of Sourcetree for Windows before version 2.6.9 are affected by this vulnerability.
- Upgrade Sourcetree for Windows to version 2.6.9 or higher from https://www.sourcetreeapp.com/ .
For additional details, see the full advisory.