Vulnerability · Published Jul 3, 2026 · Assigned by Gitea
CVE-2026-26231Gitea maintainer-edit permissions allow unauthorized commits to readable repositories
High 8.5
In plain English
A high-severity incorrect authorization 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.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.5High
Exploit odds (30 days)0.4%top 70.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Gitea versions up to and including 1.26.1 allow the Allow edits from maintainers permission path to authorize commits to repositories that the user can read but should not be able to write.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.26.2 | GO-2026-5510 |
| Go | code.gitea.io/gitea | 1.26.2 | GHSA-mm7c-rhg6-qr4r |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – through 1.26.1 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
References
- GitHub Security Advisory vendor-advisory
- GitHub Pull Request #37479 patch
- GitHub Pull Request #37484 patch
- Gitea v1.26.2 Release release-notes
- Gitea v1.26.2 Release Blog Post release-notes