Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Gitea versions before 1.27.0 do not re-evaluate the "official" flag on existing pull request approvals when a pull request's target branch is changed. A user with write access to a repository can obtain an official approval on a pull request targeting an unprotected branch, then retarget it to a protected branch and merge without approval from a whitelisted reviewer. Upgrade to Gitea 1.27.0 or later. The source gives few details on workarounds.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 8.1 | High | 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | GitHub Advisory Database |
- CISA KEV Not listed.
- EPSS 0.0053, the 45th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:55 UTC First seen by agentprime
- 31 Oct 2026, 14:55 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-w5pg-649r-p6gg
- OSV: GHSA-w5pg-649r-p6gg
- github.com/go-gitea/gitea/security/advisories/GHSA-w5pg-649r-p6gg
- github.com/go-gitea/gitea/pull/38319
- github.com/go-gitea/gitea/pull/38402
- github.com/go-gitea/gitea/commit/74ad781db9c37134ee9280c69a6b1de53801503e
- github.com/go-gitea/gitea/commit/8401fe7c544abff1ecc49d7f3166fd4ee0c174ef
- github.com/go-gitea/gitea
- github.com/go-gitea/gitea/releases/tag/v1.27.0