# CVE-2026-27775: Gitea pre-receive hook permission cache allows full repository write access

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.91%, higher than 60% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-03T20:19:37.275Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-649p-mmhf-85c7, GO-2026-6043
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: Gitea

## Description

Gitea 1.25.5 caches a branch-specific write-permission result across multiple refs in one pre-receive hook session, allowing a per-branch maintainer-edit grant to be reused for other refs and escalate to full repository write access.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: 1.25.5
- code.gitea.io/gitea (Go): before 1.26.3

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7> (exploit, advisory, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/38151> (patch, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.3> (release-notes, web)
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4/> (release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27775> (advisory)
- <https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9> (web)
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4> (web)
- <https://github.com/go-gitea/gitea> (package)

## Sources

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

---

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