{"vuln_id":"CVE-2026-69260","aliases":["GHSA-w3f2-pr6x-wwjc"],"description":"git-lfs: git-lfs: Arbitrary command execution via crafted SSH URLs","published_at":"2026-11-19T16:48:34Z","modified_at":"2026-11-20T15:00:07.489134Z","first_seen_at":"2026-11-21T19:15:15.262612Z","severity":"high","severity_source":"nvd","cvss_score":7.6,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cwe":["CWE-78"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00871,"epss_percentile":0.59725,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-69260"},"matched_alias":null,"items":[{"id":10961,"source":{"id":"osv","name":"OSV.dev"},"title":"GHSA-w3f2-pr6x-wwjc: Git LFS may attempt arbitrary remote commands via crafted SSH URLs","summary":"Git LFS may attempt arbitrary remote commands via crafted SSH URLs\n\n### Impact\n\nWhen Git LFS makes object transfer or authentication requests to a remote host via SSH, it passes the path component of the remote's SSH URL as part of a command to be executed, but does not properly format the URL's path component as a single argument.  By inserting shell meta-characters into the SSH URL, an attacker may be able to execute arbitrary commands on the remote host, if the host passes the commands to a shell without sanitizing them first.\n\nGit LFS has resolved this problem by fully quoting the arguments of the remote commands it sends via SSH.\n\nAs well, Git LFS has resolved a problem with the default HTTPS URLs used when an SSH URL is configured for a remote host and the host either does not support Git LFS remote commands sent via SSH or supports HTTP authentication via SSH for Git LFS but does not return an explicit HTTP URL in response to a `git-lfs-authenticate` remote command.  In these cases, Git LFS now correctly encodes the HTTPS URL used to contact the remote host.\n\n### Patches\n\nThis problem exists in all versions since 0.5.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.\n\n### Workarounds\n\nUsers may set the `lfs.sshTransfer` Git configuration option to `never`, after which Git LFS will not attempt any object transfers over SSH.  However, Git LFS will still make authentication requests to SSH URLs, so administrators of Git LFS services should ensure their systems sanitize all commands received over SSH before executing them.\n\nAffected: Go:github.com/git-lfs/git-lfs, Go:github.com/git-lfs/git-lfs/v3\n\nFixed in: 3.8.1\n\nReferences:\nhttps://github.com/git-lfs/git-lfs/security/advisories/GHSA-w3f2-pr6x-wwjc\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-69260\nhttps://github.com/git-lfs/git-lfs/commit/091a95a796739bd0b8f59d8deeea79a452959508\nhttps://github.com/git-lfs/git-lfs/commit/92d81117d465469a61dcb78546dd3d88806b25fd\nhttps://github.com/git-lfs/git-lfs/commit/af5f4579ac1155734bb08f00ca92b9e89f8b51df\nhttps://github.com/git-lfs/git-lfs/commit/d90ed66f2d465f8b3ba5fd6e4ac3c711c9e0a2d6\nhttps://github.com/git-lfs/git-lfs\nhttps://github.com/git-lfs/git-lfs/releases/tag/v3.8.1","url":"https://osv.dev/vulnerability/GHSA-w3f2-pr6x-wwjc","published_at":"2026-11-20T14:47:01Z","updated_at":"2026-11-20T15:00:07.489134Z","fetched_at":"2026-11-21T19:15:55.946332Z","severity":"high","cvss_score":7.6,"epss":0.00871,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/git-lfs/git-lfs","vuln_id":"CVE-2026-69260","vuln_ids":["CVE-2026-69260","GHSA-W3F2-PR6X-WWJC"],"tags":["osv","go","fix-available"],"cluster_id":2035,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10961","html":"https://vulnwatch.ve1ve2.com/item/10961"}},{"id":2308,"source":{"id":"ghsa","name":"GitHub Security Advisories"},"title":"GHSA-w3f2-pr6x-wwjc / CVE-2026-69260: Git LFS may attempt arbitrary remote commands via crafted SSH URLs","summary":"Git LFS may attempt arbitrary remote commands via crafted SSH URLs\n\n### Impact\n\nWhen Git LFS makes object transfer or authentication requests to a remote host via SSH, it passes the path component of the remote's SSH URL as part of a command to be executed, but does not properly format the URL's path component as a single argument.  By inserting shell meta-characters into the SSH URL, an attacker may be able to execute arbitrary commands on the remote host, if the host passes the commands to a shell without sanitizing them first.\n\nGit LFS has resolved this problem by fully quoting the arguments of the remote commands it sends via SSH.\n\nAs well, Git LFS has resolved a problem with the default HTTPS URLs used when an SSH URL is configured for a remote host and the host either does not support Git LFS remote commands sent via SSH or supports HTTP authentication via SSH for Git LFS but does not return an explicit HTTP URL in response to a `git-lfs-authenticate` remote command.  In these cases, Git LFS now correctly encodes the HTTPS URL used to contact the remote host.\n\n### Patches\n\nThis problem exists in all versions since 0.5.0 and is patched in v3.8.1. All users should upgrade to v3.8.1.\n\n### Workarounds\n\nUsers may set the `lfs.sshTransfer` Git configuration option to `never`, after which Git LFS will not attempt any object transfers over SSH.  However, Git LFS will still make authentication requests to SSH URLs, so administrators of Git LFS services should ensure their systems sanitize all commands received over SSH before executing them.\n\nAffected packages: go:github.com/git-lfs/git-lfs, go:github.com/git-lfs/git-lfs/v3\nPatched: github.com/git-lfs/git-lfs/v3 3.8.1","url":"https://github.com/advisories/GHSA-w3f2-pr6x-wwjc","published_at":"2026-11-20T14:47:01Z","updated_at":"2026-11-20T14:47:03Z","fetched_at":"2026-11-21T19:15:18.416738Z","severity":"high","cvss_score":7.6,"epss":0.00871,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":"github.com/git-lfs/git-lfs","vuln_id":"CVE-2026-69260","vuln_ids":["CVE-2026-69260","GHSA-W3F2-PR6X-WWJC"],"tags":["ghsa","go","CWE-78"],"cluster_id":2035,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2308","html":"https://vulnwatch.ve1ve2.com/item/2308"}},{"id":9007,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-69260: 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 con…","summary":"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.\n\nReferences:\nhttps://github.com/git-lfs/git-lfs/commit/091a95a796739bd0b8f59d8deeea79a452959508\nhttps://github.com/git-lfs/git-lfs/commit/92d81117d465469a61dcb78546dd3d88806b25fd\nhttps://github.com/git-lfs/git-lfs/commit/af5f4579ac1155734bb08f00ca92b9e89f8b51df\nhttps://github.com/git-lfs/git-lfs/commit/d90ed66f2d465f8b3ba5fd6e4ac3c711c9e0a2d6\nhttps://github.com/git-lfs/git-lfs/releases/tag/v3.8.1\nhttps://github.com/git-lfs/git-lfs/security/advisories/GHSA-w3f2-pr6x-wwjc","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69260","published_at":"2026-11-19T17:18:58.713000Z","updated_at":"2026-11-19T19:17:32.340000Z","fetched_at":"2026-11-21T19:15:31.484665Z","severity":"high","cvss_score":7.6,"epss":0.00871,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-69260","vuln_ids":["CVE-2026-69260","GHSA-W3F2-PR6X-WWJC"],"tags":["CWE-78"],"cluster_id":851,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/9007","html":"https://vulnwatch.ve1ve2.com/item/9007"}},{"id":1112,"source":{"id":"redhat","name":"Red Hat Security Data API"},"title":"CVE-2026-69260: git-lfs: git-lfs: Arbitrary command execution via crafted SSH URLs","summary":"git-lfs: git-lfs: Arbitrary command execution via crafted SSH URLs","url":"https://access.redhat.com/security/cve/cve-2026-69260","published_at":"2026-11-19T16:48:34Z","updated_at":null,"fetched_at":"2026-11-21T19:15:08.893800Z","severity":"high","cvss_score":8.8,"epss":0.00871,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"redhat","product":null,"vuln_id":"CVE-2026-69260","vuln_ids":["CVE-2026-69260","GHSA-W3F2-PR6X-WWJC"],"tags":["redhat"],"cluster_id":851,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/1112","html":"https://vulnwatch.ve1ve2.com/item/1112"}}]}