๐Ÿ” CVE Alert

CVE-2026-123638

HIGH 8.3

Gitea protected file pattern bypass with quoted file names

CVSS Score
8.3
EPSS Score
0.2%
EPSS Percentile
16th

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.

CWE CWE-693
Vendor gitea
Product gitea
Published Nov 15, 2026
Last Updated Nov 16, 2026
Stay Ahead of the Next One

Get instant alerts for gitea gitea

Be the first to know when new high vulnerabilities affecting gitea gitea are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Gitea / Gitea
0 < 28.4.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/go-gitea/gitea/security/advisories/GHSA-w87g-xmrp-86v2 github.com: https://github.com/go-gitea/gitea/pull/40362 blog.gitea.com: https://blog.gitea.com/release-of-28.4.0/ github.com: https://github.com/go-gitea/gitea/releases/tag/v28.4.0

Credits

๐Ÿ” https://github.com/Bryan-Project ๐Ÿ” https://github.com/yagcioglutoprak https://github.com/lunny