Gitea Open Source Git Server
Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.1critical · scored by CISA ADP · CWE-284
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
Gitea Gitea Open Source Git Server
- <= 1.25.3
github.com/go-gitea/gitea (Go)
- < 1.25.4
Fixed in 1.25.4
from GitHub Security Advisory GHSA-4xx9-vc8v-87hv
Mitigation
Upgrade github.com/go-gitea/gitea to 1.25.4 or later.
References
- Vendor advisory github.com/go-gitea/gitea/security/advisories/…
- Patch github.com/go-gitea/gitea/pull/36320
- Patch github.com/go-gitea/gitea/pull/36355
2 more
- Release notes github.com/go-gitea/gitea/releases/tag/v1.25.4
- Release notes blog.gitea.com/release-of-1.25.4
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.