CVE Wiki Pixee · CVE intelligence
← All CVEs

CVE-2026-20912

Critical · CVSS 9.1

Gitea — 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

Status: enriched · ingested 2026-06-27T06:00:38.000Z · profiled 2026-06-30T18:30:14.000Z