Home / Atlassian / Sourcetree for Mac / CVE-2025-22165
CVE-2025-22165: is it exploited, and which versions of Atlassian Sourcetree for Mac are affected and fixed?
CVE-2025-22165 is a privilege escalation (improper privilege management) vulnerability in Atlassian Sourcetree for Mac. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: Sourcetree for Mac All versions from 4.2.8 to 4.2.11 inclusive (CVE record by atlassian). Fixed in All versions from 4.2.12 (CVE record by atlassian). Severity: Medium (5.9, CVSS 4.0, from atlassian).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:18 UTC.
What is CVE-2025-22165?
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).
From the CVE record by atlassian, last updated February 26, 2026, 17:50 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Atlassian | Sourcetree for Mac | All versions from 4.2.8 to 4.2.11 inclusive | All versions from 4.2.12 |
As the CVE record by atlassian states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| atlassian | sourcetree | from 4.2.8 through 4.2.12 | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 08:45 UTC.
How severe is CVE-2025-22165?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:H/SC:H/SI:H/SA:L | atlassian |
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-22165 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 29, 2025)
- EPSS
- 0.16% probability of exploitation activity in the next 30 days, percentile 5.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
Who found and reported it?
- Karol Mazurek (AFINE) (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 1, 2025
- Published
- July 24, 2025, 22:30 UTC
- CVE record updated
- February 26, 2026, 17:50 UTC by atlassian
- NVD
- Analyzed, last modified June 17, 2026, 08:45 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:18 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Sourcetree for Mac?
- Jul 21, 2026CVE-2026-21575 Atlassian Sourcetree for Mac: code injection (remote code execution)
- Mar 18, 2025CVE-2023-22514 Atlassian Sourcetree for Mac: code injection (remote code execution)
- Nov 19, 2024CVE-2024-21697 Atlassian Sourcetree for Mac: RCE (Remote Code Execution)
Every CVE in Sourcetree for Mac
Questions about CVE-2025-22165
Is CVE-2025-22165 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.16% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Atlassian Sourcetree for Mac are affected by CVE-2025-22165?
Sourcetree for Mac All versions from 4.2.8 to 4.2.11 inclusive, per the CVE record by atlassian. The tables above give every range the sources list.
Which version fixes CVE-2025-22165?
All versions from 4.2.12, per the CVE record by atlassian. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-22165?
Medium (5.9, CVSS 4.0, from atlassian). The severity table above shows each score with its source.
Where is the official record of CVE-2025-22165?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.