← Back to CVEs
CVE-2026-20912
CRITICAL9.1
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.
CVE Details
CVSS v3.1 Score9.1
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published1/22/2026
Last Modified1/29/2026
Sourcenvd
Honeypot Sightings0
Affected Products
gitea:gitea
Weaknesses (CWE)
CWE-284CWE-639
References
https://blog.gitea.com/release-of-1.25.4/(88ee5874-cf24-4952-aea0-31affedb7ff2)
https://github.com/go-gitea/gitea/pull/36320(88ee5874-cf24-4952-aea0-31affedb7ff2)
https://github.com/go-gitea/gitea/pull/36355(88ee5874-cf24-4952-aea0-31affedb7ff2)
https://github.com/go-gitea/gitea/releases/tag/v1.25.4(88ee5874-cf24-4952-aea0-31affedb7ff2)
https://github.com/go-gitea/gitea/security/advisories/GHSA-vfmv-f93v-37mw(88ee5874-cf24-4952-aea0-31affedb7ff2)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.