p PatchFirst

CVE-2026-69260

CVE-2026-69260 · Git LFS may attempt arbitrary remote commands via crafted SSH URLs

CVSS 7.6 · High · EPSS 0.9% · Public exploit · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="git-lfs"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • git-lfs

    Versions
    • >= 0.5.0, <= 2.13.3: Affected
    • >= 3.0.0, < 3.8.1: Affected

    No fix published

  • git-lfs Debian 12

    Versions
    • 3.3.0-1
    • 3.3.0-1+deb12u1
    • 3.3.0-1+deb12u2
    • 3.4.0-1
    • 3.4.1-1
    • 3.5.0-1
    All versions (13)
    • 3.5.0-2
    • 3.6.1-1
    • 3.7.1-1
    • 3.8.0-1
    • 3.8.0-2
    • 3.8.1-1
    • 3.8.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git-lfs Debian 13

    Versions
    • 3.6.1-1
    • 3.6.1-1+deb13u1
    • 3.7.1-1
    • 3.8.0-1
    • 3.8.0-2
    • 3.8.1-1
    All versions (7)
    • 3.8.1-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • git-lfs Debian 14

    Versions
    • 3.6.1-1
    • 3.7.1-1
    • 3.8.0-1
    • 3.8.0-2
    Affected ranges
    • ECOSYSTEM: < 3.8.1-1

    Update to 3.8.1-1

Original sources

Check your server →