Skip to main content

Atlassian Sourcetree EUVDEUVD-2026-46328

| CVE-2026-21575 HIGH
Code Injection (CWE-94)
2026-07-21 atlassian GHSA-rrh5-678c-6wj4
8.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker prepares malicious repository with injected payload
  2. Delivery
    Delivers repository URL to victim via phishing or PR
  3. Exploit
    Victim opens repository in Sourcetree 3.4.11-3.4.12
  4. Execution
    Code injection triggers during repository processing
  5. Persist
    Arbitrary code executes as local user
  6. Impact
    Full workstation compromise (C:H/I:H/A:H)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to be running Sourcetree for Mac or Sourcetree for Windows version 3.4.11 or 3.4.12 (not earlier or later versions). The CVSS vector confirms PR:L - a low-privilege authenticated context is required, consistent with the victim being a logged-in Sourcetree user. UI:R confirms user interaction is mandatory - passive network exposure is insufficient; the victim must actively open, clone, or otherwise process the attacker-controlled repository content within Sourcetree. Exploitation is limited to developer workstations with the affected application installed; server-side or headless environments are not impacted. The scope is unchanged (S:U), meaning a successful exploit does not inherently pivot to other systems beyond the compromised workstation session.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H) scores 8.0 (High), though the advisory description cites 7.1 - a discrepancy; the vector mathematically resolves to 8.0, which is likely authoritative. The PR:L and UI:R modifiers are significant mitigating signals: exploitation is not fully unauthenticated and requires the victim to interact with attacker-controlled content. EPSS at 0.30% (22nd percentile) is low, indicating the security community does not currently observe high exploitation probability. There is no CISA KEV listing and no known public POC, reducing urgency compared to opportunistically exploited vulnerabilities. Despite the High CVSS, realistic attack surface is constrained to developer workstations running affected Sourcetree versions who open malicious repositories - making this a targeted rather than mass-exploitation risk profile. The tag 'Microsoft' in the intelligence feed is likely erroneous or refers to platform, not vendor; no Microsoft product involvement is indicated by the CVE data.

Exploit ScenarioDerived

An attacker hosts a malicious Git repository containing a crafted payload - such as a manipulated submodule configuration, hook definition, or repository metadata - exploiting the code injection flaw. When a low-privileged Sourcetree user opens or interacts with this repository in an affected version (3.4.11 or 3.4.12), the injected code executes in the context of the local user's session, granting the attacker full control of the developer workstation. No public POC is known at time of analysis, but the network delivery vector means the malicious repository could be shared via pull request, link, or social engineering.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 10, 2026

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.

Earlier versions of this analysis (1)
v1 Jul 21, 2026 - 18:00 CVSS 7.1

Remote code execution in Atlassian Sourcetree for Mac and Windows (Git desktop client) lets an attacker run arbitrary code on a developer's workstation with full impact to confidentiality, integrity, and availability. The flaw was introduced in version 3.4.11 and requires the victim to interact with attacker-controlled content, making a malicious repository the likely trigger. It carries a CVSS 3.0 score of 7.1; there is no public exploit identified at time of analysis and it is not listed in CISA KEV, but it was found and responsibly disclosed through Atlassian's Bug Bounty program.

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.

Affected VersionsENISA

Sourcetree for Mac All versions from 3.4.11 to 3.4.12 inclusive

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Sourcetree For Mac gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (atlassian) PRIMARY HIGH
NVD 8.0 HIGH
AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 8.0 HIGH

Network delivery via repository, low privilege (authenticated user), required interaction (opening repo); full triad impact on victim workstation, no scope change.

3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (atlassian).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Aug 10, 2026 - 20:59 vuln.today
v2 - CVSS changed
CVSS changed
Aug 10, 2026 - 20:52 NVD
7.1 (HIGH) 8.0 (HIGH)
CVE Published
Jul 21, 2026 - 17:00 cve.org
HIGH 7.1

DescriptionNVD

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.

Executive ViewAI

Why It Matters

Atlassian Sourcetree 3.4.11-3.4.12 (Mac/Windows) contains a remote code execution vulnerability allowing authenticated attackers to execute arbitrary code on developer machines through malicious repository content, with potential to compromise source code, credentials, and infrastructure access. This risk directly threatens supply chain security and could enable lateral movement into production systems. While current exploitation probability is low (0.3% EPSS), the vulnerability's presence on developer endpoints warrants immediate containment.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce code review workflow for all external repository content, restrict cloning to pre-approved internal repositories, deploy endpoint detection to monitor for suspicious Sourcetree process execution, provide developer security training on malicious repository risks, isolate affected developer machines from production network access, and maintain weekly monitoring of Atlassian security advisories for patch release.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Medium
popular Git GUI client among developers, not universally deployed
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy