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

Fri, 23 Jan 2026 22:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Jan 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Thu, 22 Jan 2026 23:00:00 +0000

Type Values Removed Values Added
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.
Title Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
Weaknesses CWE-284
CWE-639
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-01-22T22:01:52.026Z

Updated: 2026-01-23T21:53:41.649Z

Reserved: 2026-01-08T23:02:37.548Z

Link: CVE-2026-20912

cve-icon Vulnrichment

Updated: 2026-01-23T17:51:26.556Z

cve-icon NVD

Status : Received

Published: 2026-01-22T22:16:19.297

Modified: 2026-01-23T22:16:20.590

Link: CVE-2026-20912

cve-icon Redhat

No data.