# CVE-2026-26231: Gitea maintainer-edit permissions allow unauthorized commits to readable repositories

- Severity: High 8.5 (CVSS:3.1, scored by Gitea) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-16T23:41:01.000Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-mm7c-rhg6-qr4r, GO-2026-5510
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.26.1
- code.gitea.io/gitea (Go): before 1.26.2

## Every score

- Gitea: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N`
- GitHub: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N`

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-mm7c-rhg6-qr4r> (exploit, advisory, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/37479> (patch)
- <https://github.com/go-gitea/gitea/pull/37484> (patch)
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.2> (release-notes)
- <https://blog.gitea.com/release-of-1.26.2/> (release-notes)
- <https://github.com/go-gitea/gitea> (package)

## Sources

- CVE List: [CVE-2026-26231](https://www.cve.org/CVERecord?id=CVE-2026-26231), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-mm7c-rhg6-qr4r](https://github.com/advisories/GHSA-mm7c-rhg6-qr4r), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5510](https://pkg.go.dev/vuln/GO-2026-5510), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-26231](https://nvd.nist.gov/vuln/detail/CVE-2026-26231), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-26231 · Whole record: https://cve.day/CVE-2026-26231.json · Rebuilt by cve.day 2026-11-25T22:59:27.111Z
