CVE-2026-20912

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*

History

29 Jan 2026, 22:03

Type Values Removed Values Added
First Time Gitea
Gitea gitea
CPE cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
References () https://blog.gitea.com/release-of-1.25.4/ - () https://blog.gitea.com/release-of-1.25.4/ - Release Notes
References () https://github.com/go-gitea/gitea/pull/36320 - () https://github.com/go-gitea/gitea/pull/36320 - Issue Tracking, Patch
References () https://github.com/go-gitea/gitea/pull/36355 - () https://github.com/go-gitea/gitea/pull/36355 - Issue Tracking, Patch
References () https://github.com/go-gitea/gitea/releases/tag/v1.25.4 - () https://github.com/go-gitea/gitea/releases/tag/v1.25.4 - Release Notes
References () https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw - () https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw - Broken Link

23 Jan 2026, 22:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

22 Jan 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-22 22:16

Updated : 2026-01-29 22:03


NVD link : CVE-2026-20912

Mitre link : CVE-2026-20912

CVE.ORG link : CVE-2026-20912


JSON object : View

Products Affected

gitea

  • gitea
CWE
CWE-284

Improper Access Control

CWE-639

Authorization Bypass Through User-Controlled Key