There was an input validation vulnerability in Sourcetree for macOS via a Git repository with submodules. A remote attacker with permission to commit to a Git repository linked in Sourcetree for macOS is able to able to exploit this issue to gain code execution on the system.
- Versions of Sourcetree for macOS before version 3.1.1 are affected by this vulnerability
- Upgrade Sourcetree for macOS to version 3.1.1 or higher from https://www.sourcetreeapp.com/
For additional details, see the full advisory: https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2019-03-06-966678691.html