GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktree
影響: pip:GitPython < 3.2.0 → 3.2.0
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 repository can therefore redirect a fixed, application-selected move destination outside the parent worktree. The reporter reproduced this on the latest release, GitPython 3.1.62, and current main. In the strict scenario…
| 来源 | GitHub Advisory Database |
|---|---|
| 获取时间 | 2026/10/28 06:03 |
| 数据 | Markdown JSON |
2026/10/28 00:26,GitHub Advisory Database 发布了“GitPython: Submodule.move() follows an attacker-committed intermediate symlink outside the worktree”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Python。