CVE-2026-123638
HIGH 8.3CVSS 3.1The "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.
- Published
- 15 Nov 2026
- Last modified
- 16 Nov 2026
- Assigned by
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- NVD status
- Deferred
- Weakness
- CWE-693
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
References
- https://blog.gitea.com/release-of-28.4.0/
- https://github.com/go-gitea/gitea/pull/40362
- https://github.com/go-gitea/gitea/releases/tag/v28.4.0
- https://github.com/go-gitea/gitea/security/advisories/GHSA-w87g-xmrp-86v2
History
- 25 Nov 2026 21:23 UTC ยท NVD: first stored (published 15 Nov 2026)