{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-123638","id":"CVE-2026-123638","title":"Gitea branch protection bypass in protected file patterns","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 o","descriptionLong":"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.","published":"2026-11-15T21:14:03.522Z","updated":"2026-11-17T20:45:59.623962201Z","reserved":"2026-11-15T20:29:37.618Z","status":"Deferred","rejected":false,"assigner":"Gitea","metric":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Gitea"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"28.4.0","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-693"],"aliases":["GHSA-w87g-xmrp-86v2"],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-w87g-xmrp-86v2","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/40362","tags":["patch","fix"]},{"url":"https://blog.gitea.com/release-of-28.4.0/","tags":["release-notes","advisory"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.4.0","tags":["release-notes","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123638.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123638","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00364,"epssPercentile":0.30865,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-123638","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123638","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-123638","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-123638","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}