{"answers":{"affected":"5 open source packages ship an affected version, including github.com/git-lfs/git-lfs, git-lfs and github.com/git-lfs/git-lfs/v3.","exploited":"There is no known exploitation of CVE-2025-26625 in the wild and no public exploit code.","fix":"Upgrade github.com/git-lfs/git-lfs to 3.7.1 or later.","what":"CVE-2025-26625 is a high-severity path traversal vulnerability in git-lfs, published on 17 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-26625 and fix it if it is affected.\n\nWhat it is: CVE-2025-26625 is a high-severity path traversal vulnerability in git-lfs, published on 17 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-26625 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/git-lfs/git-lfs (Go): affected from 0.5.2; no fix listed\n- github.com/git-lfs/git-lfs (Go): affected from 0.5.2; fixed in 3.7.1\n- github.com/git-lfs/git-lfs (Go): affected from 0.5.2; fixed in 3.7.1\n- git-lfs (Bitnami): affected from 0.5.2; fixed in 3.7.1\n- github.com/git-lfs/git-lfs/v3 (Go): affected all versions; fixed in 3.7.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-26625/ (Markdown: https://insights.sbomify.com/CVE-2025-26625/index.md)","id":"CVE-2025-26625","markdown":"https://insights.sbomify.com/CVE-2025-26625/index.md","name":"CVE-2025-26625","record":{"aliases":["ALSA-2025:23667","ALSA-2025:23744","ALSA-2025:23745","BIT-git-lfs-2025-26625","CLSA-2025-1767003835","DEBIAN-CVE-2025-26625","ECHO-b5a4-ec2d-5f68","GHSA-6pvw-g552-53c5","GO-2025-4038","MINI-629m-6j4q-4ff8","RHSA-2025:23667","RHSA-2025:23744","RHSA-2025:23745","RHSA-2026:0199","RHSA-2026:0203","RHSA-2026:0204","RHSA-2026:0224","RHSA-2026:0459","RHSA-2026:0460","RHSA-2026:0465","RHSA-2026:0472","RLSA-2025:23667","RLSA-2025:23744","RLSA-2025:23745","SUSE-SU-2026:3801-1","UBUNTU-CVE-2025-26625","openSUSE-SU-2025:15643-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Git LFS extension","requires_auth":"none","summary":"Git LFS allows arbitrary file writes via crafted symlinks during checkout or pull, enabling attackers to modify files outside the repository.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.6,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"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.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Bitnami","Go","Red Hat:enterprise_linux:10.1","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux_eus:10.0","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.6::appstream","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.8::appstream","Rocky Linux:10","Rocky Linux:8","Rocky Linux:9","SUSE:Linux Enterprise Module for Development Tools 15 SP7","SUSE:Linux Enterprise Server 15 SP6-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Git LFS may write to arbitrary files via crafted symlinks","id":"CVE-2025-26625","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":60,"n_references":5,"next":{"headline":"GLPI Inventory Plugin vulnerable to reflective Cross-site Scripting","id":"CVE-2025-26626"},"packages":[{"ecosystem":"Bitnami","fixed":["3.7.1"],"introduced":["0.5.2"],"last_affected":[],"package":"git-lfs","purl":"pkg:bitnami/git-lfs","source":"BIT-git-lfs-2025-26625"},{"ecosystem":"Go","fixed":[],"introduced":["0.5.2"],"last_affected":[],"package":"github.com/git-lfs/git-lfs","purl":"pkg:golang/github.com/git-lfs/git-lfs","source":"GO-2025-4038"},{"ecosystem":"Go","fixed":["3.7.1"],"introduced":["0.5.2"],"last_affected":[],"package":"github.com/git-lfs/git-lfs","purl":null,"source":"GHSA-6pvw-g552-53c5"},{"ecosystem":"Go","fixed":["3.7.1"],"introduced":["0.5.2"],"last_affected":[],"package":"github.com/git-lfs/git-lfs","purl":"pkg:golang/github.com/git-lfs/git-lfs","source":"GHSA-6pvw-g552-53c5"},{"ecosystem":"Go","fixed":["3.7.1"],"introduced":["0"],"last_affected":[],"package":"github.com/git-lfs/git-lfs/v3","purl":"pkg:golang/github.com/git-lfs/git-lfs/v3","source":"GO-2025-4038"},{"ecosystem":"AlmaLinux:10","fixed":["3.6.1-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/almalinux/git-lfs","source":"ALSA-2025:23667"},{"ecosystem":"AlmaLinux:8","fixed":["3.4.1-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/almalinux/git-lfs","source":"ALSA-2025:23745"},{"ecosystem":"AlmaLinux:9","fixed":["3.6.1-4.el9_7"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/almalinux/git-lfs","source":"ALSA-2025:23744"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.6.1-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2025:23667"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.6.1-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2025:23667"},{"ecosystem":"Red Hat:enterprise_linux:10.1","fixed":["0:3.6.1-4.el10_1"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2025:23667"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.4.1-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2025:23745"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.4.1-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2025:23745"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.4.1-6.el8_10"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2025:23745"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.6.1-4.el9_7"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2025:23744"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.6.1-4.el9_7"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2025:23744"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:3.6.1-4.el9_7"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2025:23744"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.6.1-2.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0224"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.6.1-2.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0224"},{"ecosystem":"Red Hat:enterprise_linux_eus:10.0","fixed":["0:3.6.1-2.el10_0.1"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2026:0224"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.13.3-3.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0459"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.13.3-3.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0459"},{"ecosystem":"Red Hat:rhel_aus:8.4::appstream","fixed":["0:2.13.3-3.el8_4.3"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2026:0459"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.13.3-3.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0465"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.13.3-3.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0465"},{"ecosystem":"Red Hat:rhel_aus:8.6::appstream","fixed":["0:2.13.3-3.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2026:0465"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:2.13.3-3.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0465"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:2.13.3-3.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0465"},{"ecosystem":"Red Hat:rhel_e4s:8.6::appstream","fixed":["0:2.13.3-3.el8_6.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2026:0465"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:3.2.0-2.el8_8.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0460"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:3.2.0-2.el8_8.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0460"},{"ecosystem":"Red Hat:rhel_e4s:8.8::appstream","fixed":["0:3.2.0-2.el8_8.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2026:0460"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.13.3-5.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0472"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.13.3-5.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0472"},{"ecosystem":"Red Hat:rhel_e4s:9.0::appstream","fixed":["0:2.13.3-5.el9_0.5"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2026:0472"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:3.2.0-2.el9_2.4"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0203"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:3.2.0-2.el9_2.4"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0203"},{"ecosystem":"Red Hat:rhel_e4s:9.2::appstream","fixed":["0:3.2.0-2.el9_2.4"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debugsource","purl":"pkg:rpm/redhat/git-lfs-debugsource","source":"RHSA-2026:0203"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:3.4.1-4.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-lfs","purl":"pkg:rpm/redhat/git-lfs","source":"RHSA-2026:0204"},{"ecosystem":"Red Hat:rhel_eus:9.4::appstream","fixed":["0:3.4.1-4.el9_4.3"],"introduced":["0"],"last_affected":[],"package":"git-lfs-debuginfo","purl":"pkg:rpm/redhat/git-lfs-debuginfo","source":"RHSA-2026:0204"}],"prev":{"headline":"Local Privilege Escalation in Rufus 4.6 and previous versions","id":"CVE-2025-26624"},"products":["git-lfs"],"published":"2025-10-17","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-21","vendors":["git-lfs"]},"summary":"Git LFS allows arbitrary file writes via crafted symlinks during checkout or pull, enabling attackers to modify files outside the repository.","url":"https://insights.sbomify.com/CVE-2025-26625/"}