CVE-2026-27780
Received Received - Intake

Gitea Pre-Receive Hook Input Validation Bypass

Vulnerability report for CVE-2026-27780, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-03

Last updated on: 2026-07-03

Assigner: Gitea Limited

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

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-03
Last Modified
2026-07-03
Generated
2026-07-04
AI Q&A
2026-07-04
EPSS Evaluated
N/A
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
gitea gitea to 1.26.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in Gitea versions before 1.26.0. It occurs because the software does not fail closed when encountering errors from bufio.Scanner while processing input for pre-receive hooks. As a result, oversized input can bypass branch-protection checks.

Impact Analysis

The vulnerability allows oversized input to bypass branch-protection checks, which could lead to unauthorized changes being accepted in protected branches. This undermines the integrity of the code repository and could result in security risks or unintended code modifications.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-27780. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart