-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- -------------------------------------------------------------------------
Debian LTS Advisory DLA-4610-1                [email protected]
https://www.debian.org/lts/security/                       Andrej Shadura
May 31, 2026                                  https://wiki.debian.org/LTS
- -------------------------------------------------------------------------

Package        : git-lfs
Version        : 2.13.2-1+deb11u2
CVE ID         : CVE-2025-26625

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
could write to files visible outside the current Git working tree if symbolic
or hard links existed which collided with the paths of files tracked by Git
LFS.

The git lfs checkout and git lfs pull commands did not check for symbolic
links before writing to files in the working tree, which allowed an attacker
to craft a repository containing symbolic or hard links that caused Git LFS
to write to arbitrary file system locations accessible to the user running
these commands.

Also, when the git lfs checkout and git lfs pull commands were run in a bare
repository, they could write to files visible outside the repository.
The complete fix to this issue, specifically the behaviour of git lfs pull,
requires a newer Git version, 2.42.0 or newer.

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.

For Debian 11 bullseye, this problem has been partially fixed in version
2.13.2-1+deb11u2. For a complete fix, Git 2.42.0 or newer is also required.

We recommend that you upgrade your git-lfs packages.

For the detailed security status of git-lfs please refer to
its security tracker page at:
https://security-tracker.debian.org/tracker/git-lfs

Further information about Debian LTS security advisories, how to apply
these updates to your system and frequently asked questions can be
found at: https://wiki.debian.org/LTS
-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQSD3NF/RLIsyDZW7aHoRGtKyMdyYQUCahw9BQAKCRDoRGtKyMdy
Yb73AQCDhAj6eWWj4ROy9sG0OSAFEdTXY8yV6Y/d6bzpJu8idgEA7a6c+2fIa9B7
UcwZH7/gDSwSc99xB0YTfeqwpK7bFw8=
=zEw1
-----END PGP SIGNATURE-----

Reply via email to