CVE-2026-20912 — Improper Access Control in Gitea
Severity
9.1CRITICALNVD
EPSS
0.0%
top 96.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJan 22
Latest updateFeb 2
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitability: 3.9 | Impact: 5.2
Affected Packages4 packages
Patches
🔴Vulnerability Details
3OSV▶
Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea↗2026-02-02
GHSA▶
Gitea does not properly validate repository ownership when linking attachments to releases↗2026-01-23
OSV▶
Gitea does not properly validate repository ownership when linking attachments to releases↗2026-01-23
📋Vendor Advisories
1Red Hat▶
gitea: Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure↗2026-01-22