Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-22165: Security Misconfiguration in Atlassian Sourcetree for Mac

0
Medium
VulnerabilityCVE-2025-22165cvecve-2025-22165
Published: Thu Jul 24 2025 (07/24/2025, 22:30:00 UTC)
Source: CVE Database V5
Vendor/Project: Atlassian
Product: Sourcetree for Mac

Description

This Medium severity ACE (Arbitrary Code Execution) vulnerability was introduced in version 4.2.8 of Sourcetree for Mac. This ACE (Arbitrary Code Execution) vulnerability, with a CVSS Score of 5.9, allows a locally 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 users upgrade to the latest version. If you are unable to do so, upgrade your instance to one of the specified supported fixed versions. See the release notes https://www.sourcetreeapp.com/download-archives . You can download the latest version of Sourcetree for Mac from the download center https://www.sourcetreeapp.com/download-archives . This vulnerability was found through the Atlassian Bug Bounty Program by Karol Mazurek (AFINE).

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 00:49:12 UTC

Technical Analysis

CVE-2025-22165 is an arbitrary code execution (ACE) vulnerability discovered in Atlassian Sourcetree for Mac, specifically in versions 4.2.8 through 4.2.11. The root cause is a security misconfiguration related to improper privilege management (CWE-269), which allows a locally authenticated attacker to execute arbitrary code on the affected system. Exploitation requires user interaction, such as opening a malicious file or performing a specific action within the application. The vulnerability impacts confidentiality, integrity, and availability at a high level, indicating that an attacker could potentially gain control over sensitive data, alter or corrupt data, and disrupt application or system functionality. The CVSS 4.0 base score is 5.9, reflecting a medium severity level, with attack vector limited to local access, low attack complexity, and requiring privileges and user interaction. No public exploits have been reported yet, but the presence of this vulnerability in a widely used Git GUI client for Mac makes it a significant risk for developers and organizations relying on Sourcetree for version control. Atlassian has addressed this issue in versions beyond 4.2.11, and users are advised to upgrade promptly. The vulnerability was responsibly disclosed through Atlassian's Bug Bounty Program.

Potential Impact

The impact of CVE-2025-22165 is considerable for organizations using affected versions of Sourcetree on Mac. Successful exploitation could allow attackers with local access to execute arbitrary code, potentially leading to unauthorized access to source code repositories, injection of malicious code, or disruption of development workflows. This could compromise the integrity of software development processes, leading to supply chain risks if malicious code is introduced. Confidentiality breaches could expose sensitive intellectual property or credentials stored or accessed through Sourcetree. Availability impacts could disrupt developers' ability to manage code, delaying projects and increasing operational costs. While exploitation requires local access and user interaction, insider threats or malware could leverage this vulnerability to escalate privileges or persist within development environments. Organizations with distributed development teams or remote Mac users are particularly at risk if devices are compromised or shared.

Mitigation Recommendations

To mitigate CVE-2025-22165, organizations should immediately upgrade all affected Sourcetree for Mac installations to the latest version beyond 4.2.11 as provided by Atlassian. If immediate upgrade is not feasible, restrict local access to Mac systems running vulnerable versions and enforce strict user privilege management to limit the ability of attackers to authenticate locally. Implement endpoint protection solutions capable of detecting suspicious activities related to code execution within development tools. Educate users about the risk of interacting with untrusted files or links within Sourcetree. Regularly audit and monitor development environments for unusual behavior or unauthorized code changes. Additionally, consider isolating development machines from sensitive networks and employing application whitelisting to prevent execution of unauthorized code. Maintain up-to-date backups of source code repositories to recover quickly in case of compromise.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
atlassian
Date Reserved
2025-01-01T00:01:27.176Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6882b80ead5a09ad004644fd

Added to database: 7/24/2025, 10:47:42 PM

Last enriched: 2/27/2026, 12:49:12 AM

Last updated: 3/24/2026, 7:45:01 PM

Views: 111

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses