CVE-2025-22620: gix-worktree-state nonexclusive checkout sets executable files world-writable
gix-worktree-state
specifies 0777 permissions when checking out executable files, intending that the umask will restrict them appropriately. But one of the strategies it uses to set permissions is not subject to the umask. This causes files in a repository to be world-writable in some situations.
References
Detect and mitigate CVE-2025-22620 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →