Live threats

All CVEs / Git

CVE-2022-25648Git

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
5.5%
probability of exploitation in 30 days · percentile 94
Auth required
No
Published
Apr 19, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-88
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Original NVD text.

What to do

  1. Apply the vendor's security update for Git.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems git < 1.11.0 1.11.0 gem "git", ">= 1.11.0"

Per OSV / GitHub Advisories (GHSA-69p6-wvmq-27gg). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
gitgit< 1.11.0
fedoraprojectextra_packages_for_enterprise_linux8.0
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36
debiandebian_linux10.0

Official sources

References

Links published by the sources. Open them with care.