Red Hat VEX
RHVEX-CVE-2026-69260
git-lfs: git-lfs: Arbitrary command execution via crafted SSH URLs
Details
A flaw was found in git-lfs. When constructing remote authentication or object-transfer commands, Git LFS fails to properly format the path component of Secure Shell (SSH) URLs as a single argument. A remote attacker can exploit this issue by supplying a crafted repository URL containing shell metacharacters, allowing command arguments to escape and potentially resulting in arbitrary command execution on the remote service.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | git-lfs | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | git-lfs | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | git-lfs | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2026-69260
- https://bugzilla.redhat.com/show_bug.cgi?id=2577203
- https://www.cve.org/CVERecord?id=CVE-2026-69260
- https://nvd.nist.gov/vuln/detail/CVE-2026-69260
- https://github.com/git-lfs/git-lfs/commit/091a95a796739bd0b8f59d8deeea79a452959508
- https://github.com/git-lfs/git-lfs/commit/92d81117d465469a61dcb78546dd3d88806b25fd
- https://github.com/git-lfs/git-lfs/commit/af5f4579ac1155734bb08f00ca92b9e89f8b51df
- https://github.com/git-lfs/git-lfs/commit/d90ed66f2d465f8b3ba5fd6e4ac3c711c9e0a2d6
- https://github.com/git-lfs/git-lfs/releases/tag/v3.8.1
- https://github.com/git-lfs/git-lfs/security/advisories/GHSA-w3f2-pr6x-wwjc