BIT-git-lfs-2025-26625

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/git-lfs/BIT-git-lfs-2025-26625.json
JSON Data
https://api.test.osv.dev/v1/vulns/BIT-git-lfs-2025-26625
Aliases
Published
2025-10-21T08:40:06.664Z
Modified
2025-11-05T19:58:35.784414Z
Summary
Git LFS may write to arbitrary files via crafted symlinks
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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:git_large_file_storage_project:git_large_file_storage:*:*:*:*:*:go:*:*"
    ],
    "severity": "High"
}
References

Affected packages

Bitnami / git-lfs

Package

Name
git-lfs
Purl
pkg:bitnami/git-lfs

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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
0.5.2
Fixed
3.7.1

Database specific

source

"https://github.com/bitnami/vulndb/tree/main/data/git-lfs/BIT-git-lfs-2025-26625.json"