Debian dla-4610 : git-lfs - security update

high Nessus Plugin ID 318111

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dla-4610 advisory.

- ------------------------------------------------------------------------- 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

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade the git-lfs packages.

See Also

https://security-tracker.debian.org/tracker/source-package/git-lfs

https://security-tracker.debian.org/tracker/CVE-2025-26625

https://packages.debian.org/source/bullseye/git-lfs

Plugin Details

Severity: High

ID: 318111

File Name: debian_DLA-4610.nasl

Version: 1.1

Type: Local

Agent: unix

Published: 6/1/2026

Updated: 6/1/2026

Supported Sensors: Nessus Agent, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2025-26625

CVSS v3

Risk Factor: High

Base Score: 8.1

Temporal Score: 7.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.6

Threat Score: 6.2

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:golang-github-git-lfs-git-lfs-dev, p-cpe:/a:debian:debian_linux:git-lfs

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 5/31/2026

Vulnerability Publication Date: 10/17/2025

Reference Information

CVE: CVE-2025-26625