CVE-2018-20234: Atlassian Sourcetree - Command Injection
- Cve: CVE-2018-20234
- Name: Atlassian Sourcetree - Command Injection
- Description: There was an argument injection vulnerability in Atlassian Sourcetree for macOS from version 1.2 before version 3.1.1 via filenames in Mercurial repositories. A remote 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.
- Impact: Remote attackers with commit access can execute arbitrary code on the system, potentially leading to full system compromise.
- Remediation: Update to version 3.1.1 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs permission to commit in Mercurial repository
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.05912
- Epss percentile: 0.93421
- Assignee: [email protected]
- Published at: 2019-03-08T18:29:00Z
- Age in days: 2818
- Modified at: 2026-06-17T01:52:31Z
- Patch available: yes
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20234
- 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
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| atlassian:sourcetree | >= 1.2.0, < 3.1.1 | no | nvd | /v1/products/atlassian/sourcetree |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts