cvelo
P2 · HighCVSS 7.6EPSS 0.9%

Git LFS may attempt arbitrary remote commands via crafted SSH URLs

  • CVE-2026-69260
  • GHSA-w3f2-pr6x-wwjc
  • BIT-git-lfs-2026-69260
  • GO-2026-7021
  • EUVD-2026-130396

Description

Git LFS is a Git extension for versioning large files. From 0.5.0 until 3.8.1, Git LFS does not format the SSH URL path component as a single argument when constructing remote object-transfer or authentication commands. Shell metacharacters in the SSH URL can therefore escape the intended path argument and cause arbitrary command execution when the remote Git LFS service passes received commands to a shell without adequate sanitization. Git LFS also incorrectly encodes default HTTPS URLs when an SSH URL is configured and the remote host either does not support Git LFS remote commands over SSH or supports HTTP authentication over SSH but git-lfs-authenticate does not return an explicit HTTP URL. This issue is fixed in version 3.8.1.

Text from the CVE.org record.

Recommendation

Taken from the version ranges the sources state. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • git-lfs

    Affected versionsFixed in
    >= 0.5.0, <= 2.13.3none stated
    >= 3.0.0, < 3.8.1none stated
  • github.com/git-lfs/git-lfsGo

    Affected versionsFixed in
    from 0.5.0 up to 2.13.3none stated
  • github.com/git-lfs/git-lfs/v3Go

    Affected versionsFixed in
    from 3.0.0 to before 3.8.13.8.1

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.