NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

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

mediumCVSS 4.0 5.1GHSA-4xx9-vc8v-87hv

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.

Published Jan 23, 2026

Affected packages

github.com/go-gitea/gitea

Ecosystem
Go
Affected
< 1.25.4
Fixed in
1.25.4
Check
go list -m github.com/go-gitea/gitea

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries