CVE-2018-13386 Command injection in Sourcetree for Windows

High 8.1 Published Updated

An attacker with commit access can inject arguments via filenames to execute arbitrary code on the victim's system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-13386?

CVE-2018-13386 is a high-severity command injection vulnerability in Atlassian Sourcetree for Windows, published on 24 Jul 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There was an argument injection vulnerability in Sourcetree for Windows via filenames in Mercurial repositories. An attacker with permission to commit to a Mercurial repository linked in Sourcetree for Windows is able to exploit this issue to gain code execution on the system. Versions of Sourcetree for Windows before version 2.6.9 are affected by this vulnerability.

Weakness: CWE-88

Which versions are affected by CVE-2018-13386?

It affects 1 product.

Products include Atlassian Sourcetree.

How do I fix CVE-2018-13386?

No fix has been published for CVE-2018-13386 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2018-13386 being exploited?

There is no known exploitation of CVE-2018-13386 in the wild and no public exploit code.

Sources

Also known as GHSA-qhw8-cj7p-3gxh.

Is CVE-2018-13386 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free