Git

31 CVEs across 2 Git products. Browse Git vulnerabilities, severities, and proof-of-concept exploits.

Git products with known CVEs

ProductCVEs
Git31
Git-Shell1
Git CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2025-48386Medium6.32025-07-08Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to int…
CVE-2025-483852025-07-08Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to int…
CVE-2025-48384High8.02025-07-08Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to int…
CVE-2024-52005High8.82025-01-15Git is a source code management tool. When cloning from a server (or fetching, or pushing), informational or error messages are transported from the remote Git…
CVE-2024-52006High7.52025-01-14Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to int…
CVE-2024-50349Medium4.72025-01-14Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to int…
CVE-2024-32465High7.32024-05-14Git is a revision control system. The Git project recommends to avoid working in untrusted repositories, and instead to clone it first with `git clone --no-loc…
CVE-2024-32021Low3.92024-05-14Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, when cloning a local source repository that con…
CVE-2024-32020Low3.92024-05-14Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, local clones may end up hardlinking files into…
CVE-2024-32004High8.12024-05-14Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in s…
CVE-2024-32002Critical9.02024-05-14Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, repositories with submodules can be crafted in…
CVE-2023-29007High7.02023-04-25Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, a specially cra…
CVE-2023-25652High7.52023-04-25Git is a revision control system. Prior to versions 2.30.9, 2.31.8, 2.32.7, 2.33.8, 2.34.8, 2.35.8, 2.36.6, 2.37.7, 2.38.5, 2.39.3, and 2.40.1, by feeding spec…
CVE-2023-23946Medium6.22023-02-14Git, a revision control system, is vulnerable to path traversal prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2…
CVE-2023-22490Medium5.52023-02-14Git is a revision control system. Using a specially-crafted repository, Git prior to versions 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2…
CVE-2022-41903Critical9.82023-01-17Git is distributed revision control system. `git log` can display commits in an arbitrary format using its `--format` specifiers. This functionality is also ex…
CVE-2022-23521Critical9.82023-01-17Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `…
CVE-2022-39260High8.52022-10-19Git is an open source, scalable, distributed revision control system. `git shell` is a restricted login shell that can be used to implement Git's push/pull fun…
CVE-2022-39253Medium5.52022-10-19Git is an open source, scalable, distributed revision control system. Versions prior to 2.30.6, 2.31.5, 2.32.4, 2.33.5, 2.34.5, 2.35.5, 2.36.3, and 2.37.4 are…
CVE-2022-29187High7.82022-07-12Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privil…
CVE-2022-25648High8.12022-04-19The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, th…
CVE-2021-21300High8.02021-03-09Git is an open-source distributed revision control system. In affected versions of Git a specially crafted repository that contains symbolic links as well as f…
CVE-2020-11008Medium4.02020-04-21Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is simi…
CVE-2020-5260Critical9.32020-04-14Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. Git uses externa…
CVE-2017-8386High8.82017-06-01git-shell in git before 2.4.12, 2.5.x before 2.5.6, 2.6.x before 2.6.7, 2.7.x before 2.7.5, 2.8.x before 2.8.5, 2.9.x before 2.9.4, 2.10.x before 2.10.3, 2.11…
CVE-2010-39062010-12-17Cross-site scripting (XSS) vulnerability in Gitweb 1.7.3.3 and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) f and (2) fp…
CVE-2009-21082009-06-18git-daemon in git 1.4.4.5 through 1.6.3 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via a request containing extra…
CVE-2008-59162009-01-21gitweb/gitweb.perl in gitweb in Git 1.6.x before 1.6.0.6, 1.5.6.x before 1.5.6.6, 1.5.5.x before 1.5.5.6, 1.5.4.x before 1.5.4.7, and other versions after 1.4…
CVE-2008-55162009-01-20The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related to git_search.
CVE-2008-55172009-01-13The web interface in git (gitweb) 1.5.x before 1.5.6 allows remote attackers to execute arbitrary commands via shell metacharacters related to (1) git_snapshot…
CVE-2008-35462008-08-07Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via…
CVE-2006-04772006-01-31Buffer overflow in git-checkout-index in GIT before 1.1.5 allows remote attackers to execute arbitrary code via an index file with a long symbolic link.