GitHub Advisoryadvisory · Go

GHSA-4xx9-vc8v-87hv Gitea does not properly validate repository ownership when linking attachments to releases

MEDIUM Published 2026-01-23 Modified 2026-01-23 Official page ↗
Aliases
CVE-2026-20912
Ecosystem
Go
Packages
github.com/go-gitea/gitea
Severity
Moderate
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Weaknesses
CWE-284
Reviewed
2026-01-23

Affected packages

• Go github.com/go-gitea/gitea: < 1.25.4 → fixed in 1.25.4

Description

Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.

Related

Alias · CVE (1)

  • CVE-2026-20912 Gitea does not properly validate repository ownership when linking attachments to releases. vulnerability

Weakness · CWE (1)

  • CWE-284 Improper Access Control weakness

References