cvedb.io
CVE-2022-25866
HIGH · CVSS 8.1
EPSS exploitation probability: 0%
Published 2022-04-25T17:15:36.637 · Last modified 2026-06-17T04:34:24.947

Summary

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.

Affected products

git-php_project — git-php

Does this affect you?

Add your gear to cvedb and we'll alert you only when git-php_project ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.