CVE-2026-27775 json
Gitea pre-receive hook permission cache allows full repository write access
published 2026-07-03 4 mo ago modified 2026-10-25 14 d ago also GHSA-649p-mmhf-85c7 , GO-2026-6043 , EUVD-2026-41636
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go code.gitea.io/gitea 1.26.3
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/go-gitea/gitea@99f8b3d commit
- github.com/go-gitea/gitea#38151 pull request
- github.com/go-gitea/gitea/releases/tag/v1.26.3 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.26.3 |
1.26.3 |
Affected products
- Gitea Gitea Open Source Git Server
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/go-gitea/gitea/pull/38151
patch, web
-
github.com
/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9
web
-
github.com
/go-gitea/gitea/security/advisories/GHSA-649p-mmhf-85c7
vendor-advisory, exploit, web, advisory
-
github.com
/go-gitea/gitea/releases/tag/v1.26.3
release-notes, web
-
blog.gitea.com
/release-of-1.26.3-and-1.26.4/
release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-27775
advisory
-
blog.gitea.com
/release-of-1.26.3-and-1.26.4
web
-
github.com
/go-gitea/gitea
package
Sources
- CVE List CVE-2026-27775
- GitHub Advisory GHSA-649p-mmhf-85c7
- NVD CVE-2026-27775
- OSV GO-2026-6043
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.