Security mailing lists by PureSourceCode

CVE-2026-27780

CRITICAL 9.8CVSS 3.1

Gitea pre-receive hook scanner errors allow branch-protection bypass

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.

Published
3 Jul 2026
Last modified
25 Oct 2026
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
NVD status
Deferred
Weakness
CWE-863
Also known as
GHSA-vhq7-fwwh-7hjfGO-2026-6346
Sources
NVDJSONOSV GHSA-vhq7-fwwh-7hjfJSONOSV GO-2026-6346JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go code.gitea.io/gitea < 1.26.0 1.26.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Sep 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 3 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.