Severity by source
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Network delivery via repository, low privilege (authenticated user), required interaction (opening repo); full triad impact on victim workstation, no scope change.
Primary rating from Vendor (atlassian).
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
This High severity RCE (Remote Code Execution) vulnerability was introduced in version 3.4.11 of Sourcetree for Mac and Sourcetree for Windows.
This RCE (Remote Code Execution) vulnerability, with a CVSS Score of 7.1, allows an authenticated attacker to execute arbitrary code which has high impact to confidentiality, high impact to integrity, high impact to availability, and requires user interaction.
Atlassian recommends that Sourcetree for Mac and Sourcetree for Windows customers upgrade to latest version, if you are unable to do so, upgrade your instance to one of the specified supported fixed versions:
- Sourcetree for Mac and Sourcetree for Windows 3.4: Upgrade to a release greater than or equal to 3.4.13
See the release notes (https://www.sourcetreeapp.com/download-archives). You can download the latest version of Sourcetree for Mac and Sourcetree for Windows from the download center (https://www.sourcetreeapp.com/download-archives).
This vulnerability was reported via our Bug Bounty program.
AnalysisAI
Remote code execution in Atlassian Sourcetree for Mac and Windows 3.4.11-3.4.12 enables an authenticated attacker to execute arbitrary code on a victim's machine via code injection (CWE-94), achieving full confidentiality, integrity, and availability compromise. The attack requires low-privilege authentication and user interaction - consistent with a scenario where a victim opens or processes attacker-controlled repository content within the application. No public exploit identified at time of analysis; EPSS at 0.30% (22nd percentile) reflects low current exploitation probability, and the vulnerability was responsibly disclosed through Atlassian's Bug Bounty program rather than discovered in active exploitation.
Technical ContextAI
CWE-94 (Improper Control of Generation of Code - Code Injection) describes flaws where user-supplied input is interpreted as executable code rather than data. Sourcetree is a graphical Git and Mercurial client for Mac and Windows developed by Atlassian, enabling developers to manage repositories without command-line interaction. The affected CPE (cpe:2.3:a:atlassian:sourcetree_for_mac) covers the Mac variant, with Windows equivalently affected per the advisory. Code injection in a Git GUI client typically arises when repository metadata, commit messages, submodule configurations, or hook definitions are processed in a way that allows embedded code to be interpreted by the host system. The network attack vector (AV:N) suggests the malicious payload can be delivered via a remotely hosted repository.
RemediationAI
Vendor-released patch: Sourcetree for Mac and Sourcetree for Windows 3.4.13 or later. Atlassian recommends upgrading to the latest available release. Patched versions are available from the Atlassian download archives at https://www.sourcetreeapp.com/download-archives, which also hosts release notes for version history. No workarounds are documented by the vendor. If immediate upgrade is not possible, a compensating control is to prevent Sourcetree from opening repositories from untrusted sources - however, this requires user discipline and has no enforcement mechanism in the application itself. Restricting repository access to internal, trusted sources reduces the attack surface with minimal operational trade-off for most development teams.
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-46328
GHSA-rrh5-678c-6wj4