GHSA-vhq7-fwwh-7hjf

Suggest an improvement
Source
https://github.com/advisories/GHSA-vhq7-fwwh-7hjf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vhq7-fwwh-7hjf/GHSA-vhq7-fwwh-7hjf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vhq7-fwwh-7hjf
Aliases
Published
2026-07-03T21:31:38Z
Modified
2026-09-10T15:25:56Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Gitea pre-receive hook scanner errors allow branch-protection bypass
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-01T18:55:25Z",
    "nvd_published_at":  "2026-07-03T21:16:59Z",
    "severity":  "CRITICAL"
}
References

Affected packages

Go / code.gitea.io/gitea

Package

Name
code.gitea.io/gitea
View open source insights on deps.dev
Purl
pkg:golang/code.gitea.io/gitea

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.26.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-vhq7-fwwh-7hjf/GHSA-vhq7-fwwh-7hjf.json"