The software follows symlinks when reading the worktree `.gitmodules` file, which allows the injection of out-of-repository bytes into submodule metadata. An attacker can create a malicious repository containing a symlinked `.gitmodules` file that points outside the repository tree. This causes the system to parse arbitrary external files as submodule configuration, exposing attacker-controlled `name`, `path`, and `url` values.