{"id":"CVE-2026-123638","aliases":["CVE-2026-123638"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea protected file pattern bypass with quoted file names","summary":"The \"Protected file patterns\" setting of a branch protection rule was checked against file names as git prints them, and git quotes names that contain a double quote, a backslash or a control character. Such names never matched a pattern, so a user with write access could add or change files under a protected pattern by direct push or through a pull request merge, and could move a protected file out of the pattern's reach by renaming it. Where the patterns protect workflow files, this allowed adding a workflow that then ran on the repository's runners. Changed files are now listed unquoted, and a rename reports both the old and the new path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The \"Protected file patterns\" setting of a branch protection rule was checked against file names as git prints them, and git quotes names that contain a double quote, a backslash or a control character. Such names never matched a pattern, so a user with write access could add or change files under a protected pattern by direct push or through a pull request merge, and could move a protected file out of the pattern's reach by renaming it. Where the patterns protect workflow files, this allowed adding a workflow that then ran on the repository's runners. Changed files are now listed unquoted, and a rename reports both the old and the new path.","source":"cvelist"}],"published":"2026-11-15T21:14:03.522Z","modified":"2026-11-16T22:18:15.773Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","score":8.3,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","score":8.3,"rating":"HIGH"}],"cwes":["CWE-693"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"28.4.0","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-w87g-xmrp-86v2","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/pull/40362","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","tags":["release-notes"],"sources":["cvelist","nvd"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","tags":["release-notes"],"sources":["cvelist","nvd"]}],"credits":["https://github.com/Bryan-Project","https://github.com/yagcioglutoprak","https://github.com/lunny"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-16T21:40:04.214Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-123638","url":"https://www.cve.org/CVERecord?id=CVE-2026-123638","licence":"CVE Terms of Use","modified":"2026-11-16T21:40:11.050Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-123638","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123638","licence":"Public domain","modified":"2026-11-16T22:18:15.773Z"}],"updatedAt":"2026-11-25T22:59:50.838Z","epss":{"score":0.00429,"percentile":0.39052,"date":"2026-12-01T12:00:22.000Z"}}