一、 漏洞 CVE-2025-26625 基础信息
漏洞信息
                                        # Git LFS 跨目录符号链接漏洞

N/A
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Git LFS may write to arbitrary files via crafted symlinks
来源:美国国家漏洞数据库 NVD
漏洞描述信息
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.
来源:美国国家漏洞数据库 NVD
CVSS信息
N/A
来源:美国国家漏洞数据库 NVD
漏洞类别
在文件访问前对链接解析不恰当(链接跟随)
来源:美国国家漏洞数据库 NVD
漏洞标题
Git Lfs 后置链接漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Git Lfs是Git Lfs团队的一个用于git项目中处理大文件的命令行工具。 Git Lfs 0.5.2版本至3.7.0版本存在后置链接漏洞,该漏洞源于未检查符号链接,可能导致写入任意文件系统位置。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
后置链接
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-26625 的公开POC
# POC 描述 源链接 神龙链接
三、漏洞 CVE-2025-26625 的情报信息
  • 标题: Release v3.7.1 · git-lfs/git-lfs · GitHub -- 🔗来源链接

    标签: x_refsource_MISC

    神龙速读
  • 标题: Git LFS may write to arbitrary files via crafted links · Advisory · git-lfs/git-lfs · GitHub -- 🔗来源链接

    标签: x_refsource_CONFIRM

    神龙速读
  • 标题: check for dir/symlink conflicts on checkout/pull · git-lfs/git-lfs@0cffe93 · GitHub -- 🔗来源链接

    标签: x_refsource_MISC

    神龙速读
  • 标题: docs,lfs,t: create new files on checkout and pull · git-lfs/git-lfs@5c11ffc · GitHub -- 🔗来源链接

    标签: x_refsource_MISC

    神龙速读
  • 标题: fix bare repo pull/checkout path handling bug · git-lfs/git-lfs@d02bd13 · GitHub -- 🔗来源链接

    标签: x_refsource_MISC

    神龙速读
  • https://nvd.nist.gov/vuln/detail/CVE-2025-26625
四、漏洞 CVE-2025-26625 的评论

暂无评论


发表评论