Every CVE Search/ Get API key

CVE-2018-10857

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the...

5.9 MediumFix available

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

1.54%Up 0.9 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List Score used 5.9

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Record
CVE-2018-10857
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
EUVDEUVD-2018-2924 5.9

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Record
EUVD-2018-2924
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
GitHub AdvisoriesGHSA-f7cm-x4r7-4852 7.5

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the...

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Record
GHSA-f7cm-x4r7-4852
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
NVD 5.9

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Record
CVE-2018-10857
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
OSV 7.5

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Record
CVE-2018-10857
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2018-10857 7.5

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Record
DEBIAN-CVE-2018-10857
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2018-10857 5.9

git-annex is vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN.

Record
UBUNTU-CVE-2018-10857
CVSS 3.0
5.9 MediumCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVHSEC-2023-0010 No score

git-annex private data exfiltration to compromised remote

git-annex private data exfiltration to compromised remote

Some uses of git-annex were vulnerable to a private data exposure and exfiltration attack. It could expose the content of files located outside the git-annex repository, or content from a private web server on localhost or the LAN. Joey Hess discovered this attack.

To perform this attack, the attacker needs to have control over one of the remotes of the victim's git-annex repository. For example, they may provide a public git-annex repository that the victim clones. Or, equivalantly, the attacker could have read access to the victim's git-annex repository or a repository it pushes to, and some channel to get commits into it (e.g. pull requests).

These exploits are most likely to succeed when the victim is running the git-annex assistant, or is periodically running git annex sync --content.

To perform the attack the attacker runs git-annex addurl --relaxed file:///etc/passwd and commits this to the repository in some out of the way place. After the victim's git repository receives that change, git-annex follows the attacker-provided URL to the private data, which it stores in the git-annex repository. From there it transfers the content to the remote git-annex repository that the attacker has access to.

As well as file:/// URLs, the attacker can use URLs to private web servers. The URL can also be one that the attacker controls, that redirects to a URL that is accessible to the victim system (and not necessarily the compromised remote).

Fix

The issue was fixed by making git-annex refuse to follow file:/// urls and URLs pointing to private/local IP addresses by default. Two new configuration settings, annex.security.allowed-url-schemes and annex.security.allowed-ip-addresses, can relax this security policy, and are intended for cases where the git-annex repository is kept private and so the attack does not apply.

Impact on external special remotes

One variant of this issue can exploit a vulnerable external special remote, and could not be prevented by git-annex. (git-annex's own built-in special remotes are not vulnerable to this attack.)

In this attack variant, the attacker guesses the hash of a file stored on the victim's private web server, and adds it to the git-annex repository. The attacker also has control of the server hosting an encrypted special remote used by the victim's git-annex repository. They cause that server to redirect to the victim's web server. This allows the attacker to verify if the victim's web server contains a file that the attacker already knows the content of, assuming they can guess the URL to it.

Developers of external special remotes are encouraged to prevent this attack by not following such HTTP redirects.

Record
HSEC-2023-0010
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
git-annex
Debian:12
before 6.20180626-1
6.20180626-1
git-annex
Debian:13
before 6.20180626-1
6.20180626-1
git-annex
Debian:14
before 6.20180626-1
6.20180626-1
git-annex
Debian:8
From an advisory covering 3 CVEs
before 5.20141125+oops-1+deb8u2, plus listed versions
5.201411255.20141125+deb8u1
5.20141125+oops-1+deb8u2
git-annex
Hackage
before 6.20180626, plus listed versions
3.201107023.20110702.23.201107053.201107073.20110819
Show 45 moreShow less
3.201109023.201109063.201109153.201109283.201110113.201111223.201112033.201112113.201112313.201201133.201201153.201201163.201201233.201202273.201202293.201202303.201203093.201203153.201204053.201204063.201204183.201204303.201205113.201205223.201206053.201206113.201206143.201206153.201206243.201206293.201207213.201208073.201208253.201209243.201210013.201210093.201210103.201210163.201210173.201211123.201211263.201211273.20121127.13.201212113.20130102
6.20180626
git-annex
Ubuntu:16.04:LTS
All versions, plus listed versions
5.20150731-1build15.20151208-15.20151208-1build1
None known
git-annex
Ubuntu:18.04:LTS
All versions, plus listed versions
6.20170818-16.20171124-16.20180112-16.20180112-26.20180227-1
None known

History

History
RecordedChangedSources
affected, facts
aliases, productsEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-10857 is a medium vulnerability (CVSS 5.9) in [unknown] Git-annex, published July 16, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.54%, the 75th percentile. Fixed in git-annex 6.20180626-1.

References

This page doesn't list everything

Left out here: 142 versions. The JSON record has them.

MoveEnter Open