CVE-2026-27780CWE-863

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

Critical · published July 3, 2026

CVSS v3.1
9.8
EPSS
1%
Percentile
49.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00638 · 49.9th percentile
Weakness
CWE-863 · Incorrect Authorization
Published
2026-07-03T20:19Z
EPSS history
Timeline
  • 03 JUL 20:19Z
    Gitea pre-receive hook can miss branch-protection checks after scanner errors
    cvelistv5