Vulnerability details

CVE-2026-27780

Gitea Open Source Git Server

Gitea pre-receive hook can miss branch-protection checks after scanner errors

CVSS 3.1
9.8Critical

Official description

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.

CVSS scores

ScoreVersionSourceVector
9.8Critical 3.1 CISA ADP / Vulnrichment (CISA-ADP) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Gitea Gitea Open Source Git Server v < 1.26.0 CVEProject cvelistV5 (CNA)

References and advisories

3
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-07-03
Last updated
2026-07-06
State
Published
Assigner (CNA)
Gitea

Exploit prediction (EPSS)

0.63%
Probability of exploitation in 30 days
50.7%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
Yes
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • CWE-863
    Incorrect Authorization