UBUNTU-CVE-2025-26625

Source
https://ubuntu.com/security/CVE-2025-26625
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26625.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-26625
Upstream
Published
2025-10-17T16:15:00Z
Modified
2025-10-30T05:20:39Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:18.04:LTS

git-lfs

Package

Name
git-lfs
Purl
pkg:deb/ubuntu/git-lfs@2.3.4-1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.2.1-1
2.3.3-1
2.3.4-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.3.4-1",
            "binary_name": "git-lfs"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26625.json"

Ubuntu:20.04:LTS

git-lfs

Package

Name
git-lfs
Purl
pkg:deb/ubuntu/git-lfs@2.9.2-1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.8.0-4
2.9.0-1
2.9.1-1
2.9.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.9.2-1",
            "binary_name": "git-lfs"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26625.json"

Ubuntu:25.04

git-lfs

Package

Name
git-lfs
Purl
pkg:deb/ubuntu/git-lfs@3.6.1-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.5.0-1
3.5.0-2
3.6.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.6.1-1",
            "binary_name": "git-lfs"
        },
        {
            "binary_version": "3.6.1-1",
            "binary_name": "golang-github-git-lfs-git-lfs-dev"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26625.json"

Ubuntu:25.10

git-lfs

Package

Name
git-lfs
Purl
pkg:deb/ubuntu/git-lfs@3.6.1-1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.6.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.6.1-1",
            "binary_name": "git-lfs"
        },
        {
            "binary_version": "3.6.1-1",
            "binary_name": "golang-github-git-lfs-git-lfs-dev"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26625.json"

Ubuntu:Pro:22.04:LTS

git-lfs

Package

Name
git-lfs
Purl
pkg:deb/ubuntu/git-lfs@3.0.2-1ubuntu0.3+esm1?arch=source&distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.13.2-1

3.*

3.0.2-1
3.0.2-1ubuntu0.1
3.0.2-1ubuntu0.2
3.0.2-1ubuntu0.3
3.0.2-1ubuntu0.3+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.0.2-1ubuntu0.3+esm1",
            "binary_name": "git-lfs"
        },
        {
            "binary_version": "3.0.2-1ubuntu0.3+esm1",
            "binary_name": "golang-github-git-lfs-git-lfs-dev"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26625.json"

Ubuntu:Pro:24.04:LTS

git-lfs

Package

Name
git-lfs
Purl
pkg:deb/ubuntu/git-lfs@3.4.1-1ubuntu0.3+esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.4.0-1build1
3.4.1-1
3.4.1-1ubuntu0.1
3.4.1-1ubuntu0.2
3.4.1-1ubuntu0.2+esm1
3.4.1-1ubuntu0.3
3.4.1-1ubuntu0.3+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.4.1-1ubuntu0.3+esm1",
            "binary_name": "git-lfs"
        },
        {
            "binary_version": "3.4.1-1ubuntu0.3+esm1",
            "binary_name": "golang-github-git-lfs-git-lfs-dev"
        }
    ]
}

Database specific

source

"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-26625.json"