CVE-2026-78433
published medium CVSS 3.1 · 5.9Gitea private attachment disclosure through repository mismatch
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 1.26.0 through 1.27.2 · Other versions: unaffected | Affected | Not stated | Gitea |
| Alpine Linux | edge | gitea | Fixed | 1.27.3-r0 | Package fix record |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 1.26.0 through 1.27.2 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
4- CWE-284 CWE-284: Improper Access Control
- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-863 CWE-863: Incorrect Authorization
- CWE-1220 CWE-1220: Insufficient Granularity of Access Control
References
5- Gitea 1.27.3 release announcement https://blog.gitea.com/release-of-1.27.3/
- Fix: go-gitea/gitea pull request #39048 https://github.com/go-gitea/gitea/pull/39048
- Fix: go-gitea/gitea pull request #39077 https://github.com/go-gitea/gitea/pull/39077
- go-gitea/gitea v1.27.3 release https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- GitHub Security Advisory GHSA-frpv-2xgv-wxpq https://github.com/go-gitea/gitea/security/advisories/GHSA-frpv-2xgv-wxpq
Provider assertions
2Gitea · cna
Gitea private attachment disclosure through repository mismatch
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c919daa2d9237dcdbd293d2486bba7541720425450fd065148680537ee1122b9
- Ingested
- 18 Oct 2026, 13:43:44 UTC
- Source record
- Official CVE record