CVE-2018-13385: Sourcetree for macOS - Command Injection
- Cve: CVE-2018-13385
- Name: Sourcetree for macOS - Command Injection
- Description: There was an argument injection vulnerability in Sourcetree for macOS via filenames in Mercurial repositories. An attacker with permission to commit to a Mercurial repository linked in Sourcetree for macOS is able to exploit this issue to gain code execution on the system. Versions of Sourcetree for macOS from 1.0b2 before 2.7.6 are affected by this vulnerability.
- Impact: Attackers with commit permission can execute arbitrary code on the system, potentially leading to full system compromise.
- Remediation: Update to version 2.7.6 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs permission to commit to Mercurial repository
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02214
- Epss percentile: 0.83082
- Assignee: [email protected]
- Published at: 2018-07-24T13:29:00Z
- Age in days: 3045
- Modified at: 2026-06-17T01:39:18Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-13385
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-88 | Improper Neutralization of Argument Delimiters in a Command |
References
| Url | Source | Tags |
|---|---|---|
| https://jira.atlassian.com/browse/SRCTREE-5846 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| atlassian:sourcetree | = 1.0 beta5; = 1.0 beta4; = 1.0 beta3; >= 1.0, < 2.7.6; = 1.0 beta2; = 1.0 rc1 | no | nvd | /v1/products/atlassian/sourcetree |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts