CVE Catalog

GHSA-w8jc-g24h-crhw

High
Published: —Translated: NVD NIST

Summary

GitPython spent 2022-2026 rolling out two reusable guards method-by-method: Git.check_unsafe_protocols(url) (raises UnsafeProtocolError for <transport>:: remote-helper URLs) and Git.check_unsafe_options(...) (raises UnsafeOptionError for denylisted options). The description indicates the rollout did not cover all code paths.

Risk Assessment

Incomplete rollout of the guards may allow bypassing protections and invoking untrusted protocols or options, risking code execution.

Recommendation

Update GitPython to the latest version and review call sites to ensure both guards are consistently applied.

Other vulnerabilities in GitPython

See all
Original NVD description (English source)

### Summary GitPython has spent 2022-2026 rolling out two reusable guards method-by-method: `Git.check_unsafe_protocols(url)` (raises `UnsafeProtocolError` for `<transport>::` remote-helper URLs - CVE-2022-24439) and `Git.check_unsafe_options(...)` (raises `UnsafeOptionError` for denylisted option

Vulnerability data from NVD (NIST) · CISA KEV · EPSS