# CVE-2026-123638 — Gitea

> As of 2026-11-15, CVE-2026-123638 is a vulnerability in Gitea, EPSS 0.2% (15.7th percentile). No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-123638 as of 2026-11-15; the identifier is re-checked against the Threadlinqs threat corpus on every daily ingest.

**Last updated:** 2026-11-15

## 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](https://intel.threadlinqs.com/cwe/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](https://intel.threadlinqs.com/vendors/gitea): Gitea

## How to fix CVE-2026-123638

Patch reference: [https://github.com/go-gitea/gitea/pull/40362](https://github.com/go-gitea/gitea/pull/40362). Vendor advisory: [https://github.com/go-gitea/gitea/security/advisories/GHSA-w87g-xmrp-86v2](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.

**Vendor advisory and patch**

- [github.com — vendor advisory](https://github.com/go-gitea/gitea/security/advisories/GHSA-w87g-xmrp-86v2)
- [github.com — patch](https://github.com/go-gitea/gitea/pull/40362)
- [blog.gitea.com — release notes](https://blog.gitea.com/release-of-28.4.0/)
- [github.com — release notes](https://github.com/go-gitea/gitea/releases/tag/v28.4.0)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-123638
No Threadlinqs detection currently covers CVE-2026-123638; it is re-checked on every ingest.
Indicator values unlock with TL Creds (https://threadlinqs.com/tl-creds); MCP access for AI agents needs Purple: https://intel.threadlinqs.com/mcp
