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.
References
Configurations
No configuration.
History
16 Nov 2026, 22:18
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.3 |
15 Nov 2026, 22:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-15 22:17
Updated : 2026-11-16 22:18
NVD link : CVE-2026-123638
Mitre link : CVE-2026-123638
CVE.ORG link : CVE-2026-123638
JSON object : View
Products Affected
No product.
CWE
CWE-693
Protection Mechanism Failure
