Sensitive Data Exposure in git-annex: A Critical Vulnerability

git-annex Updated 02 Oct 2025

Summary

16/07/2018
N/A
Yes i
High
7.5

CVE-2018-10857: git-annex is vulnerable to a private data exposure and exfiltration attack. Affects git-annex versions < 6.20180626-1. Fixed in 6.20180626-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

git-annex is a powerful tool designed for managing files with Git, allowing users to efficiently handle large files and datasets without storing them directly in the Git repository. It provides features such as file synchronization, version control, and support for various storage backends. However, a vulnerability has been identified that could lead to the exposure of sensitive data from files located outside the git-annex repository, potentially compromising private information.

Vulnerability Detail

The vulnerability, identified as CVE-2018-10857, allows for private data exposure and exfiltration attacks. It can expose the content of files that reside outside the git-annex repository, or even content from a private web server on localhost or within the local area network (LAN). This issue arises from improper handling of file paths and access controls, which could lead to unauthorized access to sensitive information. The ramifications of this vulnerability are significant, as it could lead to data breaches and unauthorized data access, impacting user privacy and security.

How To Fix

Minimum fixed version

6.20180626-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git-annex

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can restrict access to the git-annex repository and ensure that sensitive files are not stored in locations accessible by git-annex until the software is updated. Additionally, users should review their file access permissions and configurations to mitigate potential risks.

Conclusion

The CVE-2018-10857 vulnerability in git-annex poses a significant risk of sensitive data exposure. Users are strongly advised to upgrade to the latest version to protect their data and maintain security. By following the recommended steps and utilizing available tools like Vulert, users can effectively monitor and mitigate vulnerabilities in their applications.

See every vulnerability recorded for git-annex →

Share this vulnerability

FAQ

CVE-2018-10857 is a vulnerability in git-annex that allows for the exposure of sensitive data from files outside the repository.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The potential consequences include unauthorized access to sensitive information, data breaches, and compromise of user privacy.

You can upgrade git-annex by running 'sudo apt-get update' followed by 'sudo apt-get install git-annex' in your terminal.

Yes, you can restrict access to the git-annex repository and review file access permissions as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for git-annex.

How To Fix

Minimum fixed version

6.20180626-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade git-annex

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback