CVE-2026-27780 json
Gitea pre-receive hook can miss branch-protection checks after scanner errors
published 2026-07-03 4 mo ago modified 2026-10-25 15 d ago also GHSA-vhq7-fwwh-7hjf , GO-2026-6346 , EUVD-2026-41638
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
Gitea versions before 1.26.0 do not fail closed on bufio.Scanner errors while processing pre-receive hook input, allowing oversized input to bypass branch-protection checks.
Patch / fix
- go code.gitea.io/gitea 1.26.0
- Gitea Gitea Open Source Git Server 1.26.0
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260916T180043-160000.1.1
suse advisories SUSE-SU-2026:23855-1SUSE-SU-2026:23863-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260916T180043-160000.1.1
opensuse advisories openSUSE-SU-2026:21897-1
- github.com/go-gitea/gitea@c453d09 commit
- github.com/go-gitea/gitea#36963 pull request
- github.com/go-gitea/gitea/releases/tag/v1.26.0 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.26.0 |
1.26.0 |
Affected products
- Gitea Gitea Open Source Git Server
Classification
- Weakness
-
- CWE-863 Incorrect Authorization
References
-
github.com
/go-gitea/gitea/pull/36963
patch, web
-
github.com
/go-gitea/gitea/commit/c453d09c36fad094405314dba2f370434b200711
web
-
github.com
/go-gitea/gitea/releases/tag/v1.26.0
release-notes, web
-
blog.gitea.com
/release-of-1.26.0/
release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-27780
advisory
-
blog.gitea.com
/release-of-1.26.0
web
-
github.com
/go-gitea/gitea
package
-
github.com
/advisories/GHSA-vhq7-fwwh-7hjf
advisory
Sources
- CVE List CVE-2026-27780
- GitHub Advisory GHSA-vhq7-fwwh-7hjf
- NVD CVE-2026-27780
- OSV GO-2026-6346
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.