Vulnerability advisory
CVE-2026-26231
Gitea maintainer-edit permissions allow unauthorized commits to readable repositories
Also known as GHSA-mm7c-rhg6-qr4rGO-2026-5510
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before 2c749ce548b1da0a52835861a87b888e67842d29 | 2c749ce548b1da0a52835861a87b888e67842d29 |
Also listed as affected (42)
| |
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.
References
- Advisoryblog.gitea.com/release-of-1.26.2/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26231.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.26.2 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-mm7c-rhg6-qr4r ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-26231 ↗
- Fixgithub.com/go-gitea/gitea/pull/37479 ↗
- Fixgithub.com/go-gitea/gitea/pull/37484 ↗