high8.1
CVE-2026-58439
Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag
Impact
Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | < 1.27.0 | 1.27.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-w5pg-649r-p6gg
- https://github.com/go-gitea/gitea/security/advisories/GHSA-w5pg-649r-p6gg
- https://github.com/go-gitea/gitea/pull/38319
- https://github.com/go-gitea/gitea/pull/38402
- https://github.com/go-gitea/gitea/commit/74ad781db9c37134ee9280c69a6b1de53801503e
- https://github.com/go-gitea/gitea/commit/8401fe7c544abff1ecc49d7f3166fd4ee0c174ef
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0
- https://blog.gitea.com/gitea-1.27.0-is-released/