Bug 2404720 (CVE-2025-26625) - CVE-2025-26625 git-lfs: Git LFS may write to arbitrary files via crafted symlinks
Summary: CVE-2025-26625 git-lfs: Git LFS may write to arbitrary files via crafted syml...
Keywords:
Status: NEW
Alias: CVE-2025-26625
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2404743 2404744
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-17 16:01 UTC by OSIDB Bzimport
Modified: 2026-01-12 17:58 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2025:23648 0 None None None 2025-12-18 12:27:52 UTC
Red Hat Product Errata RHSA-2025:23667 0 None None None 2025-12-18 19:13:20 UTC
Red Hat Product Errata RHSA-2025:23744 0 None None None 2025-12-22 02:06:31 UTC
Red Hat Product Errata RHSA-2025:23745 0 None None None 2025-12-22 01:53:59 UTC
Red Hat Product Errata RHSA-2025:23927 0 None None None 2025-12-22 16:42:40 UTC
Red Hat Product Errata RHSA-2026:0199 0 None None None 2026-01-07 04:40:11 UTC
Red Hat Product Errata RHSA-2026:0203 0 None None None 2026-01-07 05:27:17 UTC
Red Hat Product Errata RHSA-2026:0204 0 None None None 2026-01-07 05:36:52 UTC
Red Hat Product Errata RHSA-2026:0224 0 None None None 2026-01-07 10:15:56 UTC
Red Hat Product Errata RHSA-2026:0459 0 None None None 2026-01-12 13:12:47 UTC
Red Hat Product Errata RHSA-2026:0460 0 None None None 2026-01-12 13:02:37 UTC
Red Hat Product Errata RHSA-2026:0465 0 None None None 2026-01-12 15:02:08 UTC
Red Hat Product Errata RHSA-2026:0472 0 None None None 2026-01-12 17:58:07 UTC

Description OSIDB Bzimport 2025-10-17 16:01:37 UTC
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.

Comment 2 errata-xmlrpc 2025-12-18 12:27:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2025:23648 https://access.redhat.com/errata/RHSA-2025:23648

Comment 3 errata-xmlrpc 2025-12-18 19:13:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2025:23667 https://access.redhat.com/errata/RHSA-2025:23667

Comment 4 errata-xmlrpc 2025-12-22 01:53:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2025:23745 https://access.redhat.com/errata/RHSA-2025:23745

Comment 5 errata-xmlrpc 2025-12-22 02:06:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:23744 https://access.redhat.com/errata/RHSA-2025:23744

Comment 6 errata-xmlrpc 2025-12-22 16:42:38 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2025:23927 https://access.redhat.com/errata/RHSA-2025:23927

Comment 7 errata-xmlrpc 2026-01-07 04:40:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:0199 https://access.redhat.com/errata/RHSA-2026:0199

Comment 8 errata-xmlrpc 2026-01-07 05:27:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:0203 https://access.redhat.com/errata/RHSA-2026:0203

Comment 9 errata-xmlrpc 2026-01-07 05:36:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2026:0204 https://access.redhat.com/errata/RHSA-2026:0204

Comment 10 errata-xmlrpc 2026-01-07 10:15:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:0224 https://access.redhat.com/errata/RHSA-2026:0224

Comment 11 errata-xmlrpc 2026-01-12 13:02:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:0460 https://access.redhat.com/errata/RHSA-2026:0460

Comment 12 errata-xmlrpc 2026-01-12 13:12:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:0459 https://access.redhat.com/errata/RHSA-2026:0459

Comment 13 errata-xmlrpc 2026-01-12 15:02:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2026:0465 https://access.redhat.com/errata/RHSA-2026:0465

Comment 14 errata-xmlrpc 2026-01-12 17:58:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2026:0472 https://access.redhat.com/errata/RHSA-2026:0472


Note You need to log in before you can comment on or make changes to this bug.