Git LFS

Developer Tools

Git extension for versioning large files.

Latest v3.8.1 · by Git LFSWritten in GoWebsitegit-lfs/git-lfsRSS

Release activity

Release activity — 2 releases across 2 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 20261 release on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 20261 release on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

2 releases in the last year

Changelog

v3.8.1

Latest
Changed 2
  • Update some Linux workflow jobs for Ubuntu 26.04 runners
  • Update code signing and notarization of macOS release assets
Fixed 3
  • Fix encoding of the HTTPS URL checked when a remote SSH host either does not support Git LFS commands or does not return an HTTP URL in response to an authentication request
  • Fix shell quoting of paths with SSH
  • Fix Linux release package build and upload issues
Security 4
  • Fully quote the arguments of remote commands sent via SSH to prevent servers from executing malicious programs (CVE-2026-69260)
  • Send Cookie headers only to the hosts for which they were intended after HTTP redirection (CVE-2026-69261)
  • Use an unambiguous format to read and parse Git configuration options, preventing arbitrary program execution via line feed characters in submodule URLs (CVE-2026-105802)
  • Restrict the configuration of custom object transfer commands to local sources, preventing arbitrary program execution through .lfsconfig options (CVE-2026-105803)

From Git LFS

This release introduces security fixes for four vulnerabilities that have been assigned the identifiers CVE-2026-69260, CVE-2026-69261, CVE-2026-105802, and CVE-2026-105803. These vulnerabilities apply to all of the operating systems supported by Git LFS.

  • CVE-2026-69260:

    When Git LFS sends a remote command via SSH, it does not properly format the argument it derives from the remote SSH URL. Servers which pass remote commands to a shell without sanitizing their arguments may be induced to execute malicious programs.

    Git LFS has resolved this problem by fully quoting the arguments of the remote commands it sends via SSH.

  • CVE-2026-69261:

    After receiving an HTTP redirection, Git LFS may forward Cookie headers to a host other than the one for which they were intended. If credentials or other secrets are stored in HTTP cookies, they may be leaked to a potentially malicious host.

    Git LFS has resolved this issue by only sending Cookie headers to the hosts for which they were intended.

  • CVE-2026-105802:

    When operating in a malicious repository which contains a submodule, Git LFS may execute an arbitrary program after incorrectly parsing line feed (LF) characters in the submodule's URL.

    Git LFS has resolved this issue by always using an unambiguous format to read and parse Git configuration options.

  • CVE-2026-105803:

    When operating in a malicious repository, Git LFS may execute an arbitrary program as a custom transfer adapter after incorrectly filtering the options defined in an .lfsconfig file.

    Git LFS has resolved this issue by restricting the configuration of custom object transfer commands to local sources.

As well as the changes listed above, Git LFS has resolved a problem with its encoding of the HTTPS URL it checks when a remote SSH host either does not support Git LFS commands or does not return an HTTP URL in response to an authentication request.

We would like to extend a special thanks to the following security researchers for first reporting these issues to us in a responsible manner:

  • @dungNHVhust (CVE-2026-69260)
  • @izzysec (CVE-2026-105802)
  • @jthack (CVE-2026-105803)
  • @SnailSploit (CVE-2026-69261)

In addition, we would like to thank the following researchers who also reported these issues to us responsibly:

  • Idan Bachar and Niv Levy (CVE-2026-105803)
  • @bughunter0xff (CVE-2026-105802)
  • @castilho101 (CVE-2026-105803)
  • @douglasday (CVE-2026-105803)
  • @evanconnelly (CVE-2026-105803)
  • @Hexix23 (CVE-2026-105803)
  • @izzysec (CVE-2026-69260)
  • Yonghwa Lee (Theori) (CVE-2026-105803)
  • Rojan Rijal (Ophion Security/Anthropic) (CVE-2026-105803)
  • @SAYUTIM (CVE-2026-69260)
Bugs
  • Parse configuration options unambiguously (@chrisd8088, @aniketgup)
  • Use strict matching for custom transfer configuration options (@chrisd8088, @aniketgup)
  • Limit protected HTTP headers to same origin (@aniketgup, @chrisd8088)
  • Fix shell quoting of paths with SSH (@bk2204, @chrisd8088)
Misc
  • Update some Linux workflow jobs for Ubuntu 26.04 runners (@chrisd8088)
  • Update code signing and notarization of macOS release assets (@chrisd8088)
  • Fix Linux release package build and upload issues (@chrisd8088)
Packages

Up to date packages are available on PackageCloud and Homebrew.

RPM RHEL 8/Rocky Linux 8 RPM RHEL 9/Rocky Linux 9 RPM RHEL 10/Rocky Linux 10 Debian 11 (AMD64) Debian 11 (ARM64) Debian 12 (AMD64) Debian 12 (ARM64) Debian 13 (AMD64) Debian 13 (ARM64)

SHA-256 hashes:

git-lfs-darwin-amd64-v3.8.1.zip 4292b3518e717e53c20a6c2c0696e2069a21e97500ad14b80b06bd52de8f3b72

git-lfs-darwin-arm64-v3.8.1.zip 0ba10e897e0496412cd86eacaed4ed554c97ddc29bc5c709d28faa5eaaa2222c

git-lfs-freebsd-386-v3.8.1.tar.gz 76398b95eff2281e7d3088f8677ec548d13d6b08f553f2af573506b84767264c

git-lfs-freebsd-amd64-v3.8.1.tar.gz acbd1d6f93d9578be358ce12a9c699ffb6b2e082f744c7bb8ec033e706375ded

git-lfs-linux-386-v3.8.1.tar.gz 42d862b5cad499820fde9ea6c3080c73327f679f1968eb4a3e71fa11d8737d26

git-lfs-linux-amd64-v3.8.1.tar.gz e72cf723a4a660438862282e8aecf3885fc8123e88bfcad534cf6b941a354b75

git-lfs-linux-arm-v3.8.1.tar.gz 51850fba78f08c8ffe86e162ce277a36fb41929ba699c2853f4b0ff178cf0eb2

git-lfs-linux-arm64-v3.8.1.tar.gz 67895dd77b63329796bc5efdd47b57f218e1f7b98717ebaf936a8238dbcaec0f

git-lfs-linux-loong64-v3.8.1.tar.gz b2fbba542d9171b7975ce25a6193f6240e12f1544dd589ee54959a6ee6137da7

git-lfs-linux-ppc64le-v3.8.1.tar.gz 9ef81f07d069fc47d444c2b79a3babb65ece384cdae48c4bfd88e1ad0d972aea

git-lfs-linux-riscv64-v3.8.1.tar.gz 747d7c5036d9655aed66219aec83716a2090a60cdeb49eb099784ee65a5c2912

git-lfs-linux-s390x-v3.8.1.tar.gz ca6a94c9e44b422bdef9575ac8153e1c0361508d8610f9b5be114c066a9d5cfd

git-lfs-v3.8.1.tar.gz 1939307bef808580f7c8954ede7072889d7e76721f5d6fdc4ab110bf907330ab

git-lfs-vendor-v3.8.1.tar.gz 8c25df445c8cb818846d851cceef653333c90eb638f7f2ac4d5ba2db70cd1830

git-lfs-windows-386-v3.8.1.zip d036588bd9027b7bf2a57e9fcb476ab95880f078d9b0a622869f397fb9030088

git-lfs-windows-amd64-v3.8.1.zip 5bb771c12b3dacc535e912d0270a010c209d4da2e63819c5918e3547c2defed9

git-lfs-windows-arm64-v3.8.1.zip 7e70990e339efab3e793affb919355b548c9a41c5b6bb52d90267bcb84ba4784

git-lfs-windows-v3.8.1.exe 7ac0422468f9cce06a7916156ed284f223527ed40e6d9ccf5fc0e89ad05b389c

hashes.asc d55d49188f51ff23d8ed04fb0fb7e08b0f14c8466d6c87215cde85c9674c73f8

sha256sums.asc b648ddbf8cd768e4d9dc9db4ac7c15dd3830d7ef00cba86c614a5f9b5ba9b9f4

View originalPermalink
How v3.8.1 went

v3.8.0

Added 6
  • Support zstd-compressed HTTP object downloads via the lfs.httpDownloadEncoding option with zstd and gzip support
  • Fetch Git LFS objects for a list of references piped to standard input
  • Limit how long Git LFS waits when a server instructs it to retry an HTTP request, via a maximum retry time limit
  • Fall back to a guessed HTTP endpoint derived from an SSH URL when git-lfs-authenticate is unavailable
  • Support pointer extensions in the pointer command
  • Full support of special attributes in the migrate command
Changed 5
  • Determine filesystem case sensitivity from the core.ignoreCase Git configuration option
  • Respect global and system-wide Git attribute files when migrating repositories
  • Reuse SSH sessions when possible and only close them at client exit
  • Avoid re-reading working tree files during clean filter operations
  • Handle file deletion conflicts on Windows in the same manner as Git
Fixed 11
  • Handle invalid wildmatch patterns in Git attribute parsing without crashing
  • Ignore invalid custom transfer adapter names without crashing
  • Resolve remote-tracking branches correctly for download operations
  • Terminate lengthy or endless HTTP authentication sequences after a limited number of requests
  • Fix extra HTTP header duplication on retry
  • Ignore missing files in the unlock command
View originalRead the notes
How v3.8.0 went

v3.7.1

Changed 3
  • The git lfs checkout and git lfs pull commands now check for symbolic links before writing files to the working tree, in the same manner as Git
  • The git lfs checkout and git lfs pull commands now remove existing files in the working tree before writing new files in their place
  • Upgraded to Go 1.25
Fixed 1
  • Detect symbolic links on checkout and pull
Security 2
  • Fixed a vulnerability (CVE-2025-26625) where git lfs checkout and git lfs pull could write to files outside the working tree via symbolic or hard links colliding with LFS-tracked paths
  • Fixed a problem where git lfs checkout and git lfs pull, when run in a bare repository, could write to files visible outside the repository
View originalRead the notes
How v3.7.1 went

v3.7.0

Added 4
  • Add `--dry-run` option to `fetch`
  • Add `--json` option to `fetch`
  • Add `--refetch` option to `fetch`
  • Cache a file path filter match result, using a configurable in-memory cache of file path pattern matches
Changed 13
  • Verify TLS/SSL certificates using default Go support for macOS system root CAs, avoiding spurious TLS verification errors when custom CA certificates are configured
  • Prefer .netrc on Windows if present, matching Git and curl
  • Permit the use of symbolic links to Git's object storage during Git LFS migrations
  • Honour 429 object transfer response `Retry-After` headers, retrying appropriately after all 429 status code HTTP responses
  • Report missing objects consistently when pushing
  • Use a git-update-ref script to update references
Security 1
  • Upgrade golang.org/x/crypto to v0.35.0 to solve CVE-2025-22869
View originalRead the notes
How v3.7.0 went

v3.6.1

Security 2
  • Prevent bare line feed (LF) characters from being included in values sent to the git-credential(1) command when requesting credentials for a remote host (CVE-2024-53263)
  • Prevent bare carriage return (CR) characters from being included in values sent to the git-credential(1) command unless the credential.protectProtocol configuration option is set to a value equivalent to false
View originalRead the notes
How v3.6.1 went

v3.6.0

Added 4
  • Support multistage authentication with Git credential helpers (requires Git 2.46.0)
  • Support relative paths to linked working trees (requires Git 2.48.0)
  • Add a configuration option for object transfer batch size
  • Support arbitrary HTTP credential schemes for authentication
Changed 6
  • Improve sparse checkout support
  • Use lower-case file extensions in Windows installer path checks
  • Match PATH case insensitively in Windows installer
  • Make hook scripts more POSIX-compliant
  • Optimize performance for scanning trees in partial clones
  • Omit tags in ls-remote and optimize the pre-push hook for Git remotes with large numbers of tags
Fixed 7
  • Fix crash during pure SSH object transfer with multiple objects
  • Fix SSH connection creation leaking connections
  • Fix slice initialization length
  • Fix panic caused by accessing a non-existent HTTP header
  • Avoid deadlocking on log scanning with lots of output on stderr
  • Gracefully handle files deleted from the index during checkout
  • Fix log scanner failing to parse pointer files containing Unicode characters
View originalRead the notes
How v3.6.0 went

v3.5.1

Changed 2
  • Build release assets with Go 1.21
  • Install msgfmt on Windows in CI and release workflows
Fixed 1
  • script/packagecloud: instantiate distro map properly
View originalRead the notes
How v3.5.1 went

v3.4.1

Fixed 1
  • Fix a panic in the credential code where Git LFS may crash if the Git credential manager returns credentials containing one or more empty fields, a bug introduced in v3.4.0
View originalRead the notes
How v3.4.1 went

v3.4.0

Added 3
  • Add support for providing multiple headers to Git credential helpers via wwwauth[]
  • Add a --file option to the install and uninstall commands
  • Add shell completion script generation, with the new git-lfs-completion(1) command
Changed 4
  • Print a warning about the locking API to standard error in the locks command
  • Avoid needlessly spawning SSH connections with git archive
  • Avoid remote connections in checkout
  • Make hooks refer to core.hooksPath
Fixed 11
  • Handle local paths with trailing slashes
  • Unlock by ID with the JSON flag no longer returns an empty array
  • Refactor macro attribute handling to prevent crashes with the --fixup migration option
  • Print an error in standalone mode if the destination is not a Git repository
  • Ensure local locks are synced on error
  • Make the Windows installer work on 32-bit Windows again
View originalRead the notes
How v3.4.0 went

v3.3.0

Added 4
  • Add the FAQ to the repository
  • Add support for Rocky Linux 9 packages
  • Add ability to read refs and OIDs from stdin in git lfs push
  • Allow alternative remotes to be handled by Git LFS
Changed 5
  • Switch documentation to AsciiDoc from ronn-flavoured Markdown
  • No longer include vendored dependencies in the repository or tarballs; the make vendor target can be used to vendor them
  • Use the --sparse parameter for ls-files to improve performance
  • Update to Go version 1.19
  • Add information to an ambiguous error message
Fixed 9
  • Fix git lfs migrate import --everything so it migrates all refs that are not special to Git instead of only branches and tags
  • Fix a broken link for git-lfs-migrate in the documentation
  • Disable concurrent SSH transfers when multiplexing is not available
  • Fix setting the commit and vendor variables via make
  • Avoid leaking resources when falling back to the legacy SSH protocol
  • Bump gitobj to v2.1.1 to fix a bug
View originalRead the notes
How v3.3.0 went

v3.2.0

Added 3
  • ls-files supports a --json option for machine-readable output
  • git lfs track supports --json output for machine-readable results
  • A merge driver allows automatically merging LFS-based text files from the command line
Changed 8
  • Hooks are no longer written when their content has not changed
  • Binary release archives now contain a top-level directory, matching the source archives, instead of unpacking into the current directory
  • Use gitignore-style path matching for additional commands
  • Update and correct several error message strings
  • Build CI on Windows 2022
  • Update to Go 1.18, drop older Go version support, and update modules and dependencies
  • Multiple hash support has been added
  • Build man pages into per-section subdirectories
Fixed 9
  • Several Makefile fixes applied for Windows
  • git no longer panics on a pkt-line without an equals sign
  • Invalid Accept header syntax in lfshttp is fixed
  • Grammar fix in documentation
  • Pruning no longer removes identical files that both match and do not match lfs.fetchexclude
  • The lfs.fetchexclude filter is applied to previous commits when pruning
Removed 1
  • Unused Pipe[Media]Command() functions have been removed
Deprecated 1
  • NTLM is deprecated
View originalRead the notes
How v3.2.0 went
View all

Discussion

If you publish Git LFS, you can claim this product by proving you administer its repository.