Home

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.

PUBLISHED Reserved 2026-01-08 | Published 2026-01-22 | Updated 2026-01-23 | Assigner Gitea

Problem types

CWE-284: Improper Access Control

CWE-639: Authorization Bypass Through User-Controlled Key

Product status

Default status
unaffected

Any version
affected

Credits

spingARbor reporter

References

github.com/.../gitea/security/advisories/GHSA-vfmv-f93v-37mw (GitHub Security Advisory) vendor-advisory

github.com/go-gitea/gitea/pull/36320 (GitHub Pull Request #36320) patch

github.com/go-gitea/gitea/pull/36355 (GitHub Pull Request #36355) patch

github.com/go-gitea/gitea/releases/tag/v1.25.4 (Gitea v1.25.4 Release) release-notes

blog.gitea.com/release-of-1.25.4/ (Gitea v1.25.4 Release Blog Post) release-notes

cve.org (CVE-2026-20912)

nvd.nist.gov (CVE-2026-20912)

Download JSON