Description (CNA)
Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Gitea / Gitea | affected 1.26.0 through 1.27.2 |
CWE
CWE-284, CWE-639, CWE-863, CWE-1220
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39048
- https://github.com/go-gitea/gitea/pull/39077
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3
ADP enrichment
No English description supplied.
No references supplied.