Is czproject/git-php 2.0 vulnerable?

Composer · 1 release from 2.0.0 to 2.0.0 · latest czproject/git-php is 4.6.0 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. czproject/git-php 2.0.0, the last 2.0 release, is affected by 1 known security advisory (1 high), including CVE-2022-25866. Upgrade to 4.0.3 or later to fix all of them.

Upgrade with:composer require czproject/git-php:^4.0.3

Is your project on an affected czproject/git-php?

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

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

Advisories affecting czproject/git-php 2.0.0

  • HighCVE-2022-25866GHSA-3xpw-vhmv-cw7h26 Apr 2022

    Command injection in czproject/git-php

    Affected
    <4.0.3
    Fixed in
    4.0.3

Which of your client projects are still on czproject/git-php 2.0?

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

Other czproject/git-php versions

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