What is CVE-2026-123638?
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.
The record classifies CVE-2026-123638 under weakness class CWE-693. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 4 days ago.
Severity and exploitation probability
- EPSS (FIRST)
- 0.2% probability of exploitation in the next 30 days, higher than 15.7% of all scored CVEs
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Threadlinqs priority
- 0.6/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- Published
- 2026-11-15
Is CVE-2026-123638 being exploited?
It currently carries a trending score of 34 in the Threadlinqs vulnerability feed.
Affected products and versions
- Gitea: Gitea
How to fix CVE-2026-123638
Patch reference: https://github.com/go-gitea/gitea/pull/40362. Vendor advisory: https://github.com/go-gitea/gitea/security/advisories/GHSA-w87g-xmrp-86v2. Apply the vendor fix referenced above to every affected product listed in this record, then confirm the running version against the vendor advisory.
Threat activity tracking CVE-2026-123638
No threat campaign in the Threadlinqs corpus currently references CVE-2026-123638, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.
Sources
Enriched from CVE.org, NVD, FIRST EPSS. This product uses the NVD API but is not endorsed or certified by the NVD.