CVE Catalog

GHSA-gq48-pqfc-9p58

Medium
Published: —Translated: NVD NIST

Summary

GitPython's public Submodule.move() API verifies that its destination is lexically inside the parent repository, but does not reject symbolic links in the destination's intermediate components before filesystem operations. On systems that check out Git symlinks, an untrusted repository may exploit this.

Risk Assessment

An untrusted repository may cause filesystem operations outside the intended directory, potentially overwriting or moving files in unexpected locations.

Recommendation

Update GitPython to a fixed version. Avoid calling Submodule.move() on data from untrusted repositories.

Other vulnerabilities in GitPython

See all
Original NVD description (English source)

## Summary GitPython's public `Submodule.move()` API verifies that its destination is lexically inside the parent repository, but it does not reject symbolic links in the destination's intermediate components before filesystem operations. On systems that check out Git symlinks, an untrusted reposit

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