Advisory

DEBIAN-CVE-2025-26625

Also known as: CVE-2025-26625

Summary

The record has no summary.

Details

Git LFS is a Git extension for versioning large files. In Git LFS versions 0.5.2 through 3.7.0, when populating a Git repository's working tree with the contents of Git LFS objects, certain Git LFS commands may write to files visible outside the current Git working tree if symbolic or hard links exist which collide with the paths of files tracked by Git LFS. The git lfs checkout and git lfs pull commands do not check for symbolic links before writing to files in the working tree, allowing an attacker to craft a repository containing symbolic or hard links that cause Git LFS to write to arbitrary file system locations accessible to the user running these commands. As well, when the git lfs checkout and git lfs pull commands are run in a bare repository, they could write to files visible outside the repository. The vulnerability is fixed in version 3.7.1. As a workaround, support for symlinks in Git may be disabled by setting the core.symlinks configuration option to false, after which further clones and fetches will not create symbolic links. However, any symbolic or hard links in existing repositories will still provide the opportunity for Git LFS to write to their targets.

Severity

Not rated by the source.

Dates

Published
2025-10-17 16:15 UTC
Modified
2026-10-23 17:47 UTC

Affected packages and fixes

git-lfs

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.3.0-1+deb12u2 (ecosystem)

Fixed versions

3.3.0-1+deb12u2

Fix

  • Fixed version 3.3.0-1+deb12u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

git-lfs

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 3.6.1-1+deb13u1 (ecosystem)

Fixed versions

3.6.1-1+deb13u1

Fix

  • Fixed version 3.6.1-1+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

git-lfs

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 3.7.1-1 (ecosystem)

Fixed versions

3.7.1-1

Fix

  • Fixed version 3.7.1-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences