Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/git-lfs/git-lfs
  4. ›
  5. CVE-2020-27955

CVE-2020-27955: Uncontrolled Search Path Element

February 11, 2022

Git LFS allows Remote Code Execution.

References

  • seclists.org/fulldisclosure/2020/Nov/1
  • github.com/advisories/GHSA-4g4p-42wc-9f3m
  • github.com/git-lfs/git-lfs/releases
  • github.com/git-lfs/git-lfs/security/advisories/GHSA-4g4p-42wc-9f3m
  • legalhackers.com/advisories/Git-LFS-RCE-Exploit-CVE-2020-27955.html
  • nvd.nist.gov/vuln/detail/CVE-2020-27955

Code Behaviors & Features

Detect and mitigate CVE-2020-27955 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.12.1

Fixed versions

  • v2.12.1

Solution

Upgrade to version 2.12.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-427: Uncontrolled Search Path Element
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/git-lfs/git-lfs/CVE-2020-27955.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 12 Nov 2026 00:17:32 +0000.