GoWorst: Critical6 advisories

github.com/git-lfs/git-lfs: known vulnerabilities

github.com/git-lfs/git-lfs has 6 reviewed security advisories in the GitHub Advisory Database — 2 critical, 4 high. The most recent was published 2025-10-17. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/git-lfs/git-lfs versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/git-lfs/git-lfs

Upgrade github.com/git-lfs/git-lfs to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/git-lfs/git-lfs@3.7.1 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (6)

Git LFS may write to arbitrary files via crafted symlinks High CWE-59 — Affected: from 0.5.2 up to 3.7.1. Fixed in 3.7.1. Published 2025-10-17. GHSA-6pvw-g552-53c5 · CVE-2025-26625
Git LFS permits exfiltration of credentials via crafted HTTP URLs High CWE-436 CWE-74 — Affected: 0.1.0 through 3.0.0. No fixed release is listed. Published 2025-01-14. GHSA-q6r2-x2cc-vrp7 · CVE-2024-53263
Git LFS can execute a binary from the current directory on Windows Critical 9.8 CWE-426 — Affected versions listed in the advisory. No fixed release is listed. Published 2022-04-20. GHSA-6rw3-3whw-jvjj · CVE-2022-24826
Git LFS can execute a Git binary from the current directory on Windows High 7.2 CWE-426 CWE-94 — Affected: before 2.13.2. Fixed in 2.13.2. Published 2022-02-15. GHSA-cx3w-xqmc-84g5 · CVE-2021-21237
Git LFS can execute a Git binary from the current directory Critical 9.8 CWE-427 — Affected: before 2.12.1. Fixed in 2.12.1. Published 2020-11-05. GHSA-4g4p-42wc-9f3m · CVE-2020-27955
GitHub Git LFS Arbitrary command execution vulnerability High 8.8 CWE-20 — Affected: before 2.1.1-0.20170519163204-f913f5f9c7c6. Fixed in 2.1.1-0.20170519163204-f913f5f9c7c6. Published 2017-12-21. GHSA-w4xh-w33p-4v29 · CVE-2017-17831

Find github.com/git-lfs/git-lfs across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.