{"cve":"CVE-2022-25866","nvd":{"published":"2022-04-25T17:15:36.637","modified":"2026-06-17T04:34:24.947","status":"Modified","description":"The package czproject/git-php before 4.0.3 are vulnerable to Command Injection via git argument injection. When calling the isRemoteUrlReadable($url, array $refs = NULL) function, both the url and refs parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-88"],"references":["https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733","https://github.com/czproject/git-php/releases/tag/v4.0.3","https://snyk.io/vuln/SNYK-PHP-CZPROJECTGITPHP-2421349","https://github.com/czproject/git-php/commit/5e82d5479da5f16d37a915de4ec55e1ac78de733","https://github.com/czproject/git-php/releases/tag/v4.0.3"],"products":["git-php_project:git-php"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-25866","score":0.03649,"percentile":0.89596,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}