Live threats

All CVEs / Gitea

CVE-2026-27780Gitea Open Source Git Server

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Jul 3, 2026
Updated
Oct 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea Open Source Git Server.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go code.gitea.io/gitea < 1.26.0 1.26.0 go get code.gitea.io/gitea@v1.26.0
Go code.gitea.io/gitea < 1.26.0 1.26.0 go get code.gitea.io/gitea@v1.26.0

Per OSV / GitHub Advisories (GHSA-vhq7-fwwh-7hjf, GO-2026-6346). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.