CVE-2026-20912
Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
9.1
CRITICAL
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2026-20912
To remediate CVE-2026-20912, upgrade the affected package to a fixed version below.
- —upgrade to 1.25.4 or later
- —upgrade to 1.25.4 or later
- —upgrade to 1.25.4 or later
Is CVE-2026-20912 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.25.4
- from 0, < 1.25.4
- from 0, < 1.25.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |