CVE-2026-20912
Critical · CVSS 9.1Gitea — Improper Authorization / Broken Object Level Authorization - Cross-Repository Attachment Linking
- CVSS
- 9.1
- nvd
- EPSS
- —
- KEV
- No
- Class
- oss containerizable
- CWE-284, CWE-639, CWE-283
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.
Search profile — drives PoC discovery
Symbols attachmentreleaserepository ownershipValidateOwnershipLinkAttachmentGetAttachmentByUUIDCreateReleaseEditReleaseattachment UUIDrepo_idrelease_iduploader_idGHSA-vfmv-f93v-37mw
Keywords CVE-2026-20912Gitea attachment release cross-repositoryGitea private attachment public releaseGitea GHSA-vfmv-f93v-37mwGitea unauthorized attachment accessGitea release attachment ownership bypassGitea CWE-639 IDOR attachmentGitea pull 36320Gitea pull 36355Gitea 1.25.4 attachment vulnerabilitygo-gitea attachment release PoC
Versions: < 1.25.4
Affected packages
| Bitnami | gitea | 0 → 1.25.4 |
| Go | code.gitea.io/gitea | 0 → 1.25.4 |
| Go | github.com/go-gitea/gitea | 0 → 1.25.4 |
References
- https://blog.gitea.com/release-of-1.25.4/
- https://github.com/go-gitea/gitea/pull/36320
- https://github.com/go-gitea/gitea/pull/36355
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw
- https://access.redhat.com/security/cve/CVE-2026-20912
- https://bugzilla.redhat.com/show_bug.cgi?id=2432219
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20912.json
Status: enriched · ingested 2026-06-27T06:00:38.000Z · profiled 2026-06-30T18:30:14.000Z