Vulnerability · Published Aug 13, 2026 · Assigned by Gitea
CVE-2026-58439Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag
High 8.1
In plain English
A high-severity improper access control in Gitea Open Source Git Server from Gitea. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.5%top 55.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.27.0 | GHSA-w5pg-649r-p6gg |
| Go | code.gitea.io/gitea | no fix listed | GO-2026-6080 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – through 1.26.4 |
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
References
- GitHub Security Advisory vendor-advisory
- Gitea v1.27.0 Release release-notes
- Gitea v1.27.0 Release Blog Post release-notes