File Handling Vulnerability in Gitea by go-gitea
CVE-2026-123638
Currently unrated
What is CVE-2026-123638?
A vulnerability in Gitea allows users with write access to bypass protected file patterns by exploiting how file names are matched. The 'Protected file patterns' setting was inadequate, as it relied on git's quoting of names containing special characters like double quotes, backslashes, or control characters. This flaw permits malicious users to alter or introduce new files in protected areas via direct push or pull request merges. Additionally, it enables renaming of protected files to escape the protection constraints, potentially leading to the execution of unauthorized workflows on repository runners.
Affected Version(s)
Gitea 0 < 28.4.0
