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。