CVE-2026-123638

High

Description

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.

SeverityHigh
CVSS8.3
Exploit probability—
ProductGitea
PublishedNov 15, 2026
First seenNov 15, 2026
Weakness typeCWE-693CWE-693

How to fix

Affected products

ProductAffected versionsFixed in
Gitea Giteav < 28.4.028.4.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.