Is git 1.9 vulnerable?

RubyGems · 2 releases from 1.9.0 to 1.9.1 · latest git is 6.0.0 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. git 1.9.1, the last 1.9 release, is affected by 3 known security advisories (1 critical, 2 high), including CVE-2022-25648, CVE-2022-47318, CVE-2022-46648. Upgrade to 1.13.0 or later to fix all of them.

Upgrade with:bundle update --conservative git # Gemfile: '>= 1.13.0'

Is your project on an affected git?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting git 1.9.1

  • HighCVE-2022-47318GHSA-pphf-gfrm-v32r17 Jan 2023

    Code injection in ruby git

    Affected
    <1.13.0
    Fixed in
    1.13.0
  • HighCVE-2022-46648GHSA-pfpr-3463-c6jh9 Jan 2023

    ruby-git has potential remote code execution vulnerability

    Affected
    >=1.2.0 <1.13.0
    Fixed in
    1.13.0
  • CriticalCVE-2022-25648GHSA-69p6-wvmq-27gg20 Apr 2022

    Command injection in ruby-git

    Affected
    <1.11.0
    Fixed in
    1.11.0

Every git 1.9.x release

Affected: 1.9.0 to 1.9.1. Latest git: 6.0.0.

VersionKnown advisories
git 1.9.1CVE-2022-47318, CVE-2022-46648, CVE-2022-25648
git 1.9.0CVE-2022-47318, CVE-2022-46648, CVE-2022-25648

Which of your client projects are still on git 1.9?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact git version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other git versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.