CVE-2026-20904: gitea Improper Access Control
CVSS: 6.5v3.1MediumAnalyzed
AliasesGHSA-qqgv-v353-cv8pBIT-gitea-2026-20904GHSA-jrpc-w85r-hgqxGO-2026-4369
Published 22-01-2026Last modified 23-01-2026
Vulnerability summary
CVE-2026-20904 is a medium (CVSS 6.5) Improper Access Control vulnerability in gitea. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 21.5% of scored vulnerabilities.
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)EPSS score
0.30%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 22-01-2026PublishedVulnerability first disclosed.
- 23-01-2026Last modifiedVulnerability information updated.
Description
Gitea does not properly validate ownership when toggling OpenID URI visibility. An authenticated user may be able to change the visibility settings of other users' OpenID identities.
CVSS metrics
3 scores · 3 sources · 2 versionsMedium 5.3Preferred score · OSV · Go (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NSourcesSingle source
Medium 6.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NSourcesAll 2 agree
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
22%
Versus all other CVEs
30-day change
0.00 pp
From 0.31% on 19-09-2026
19-09-202619-10-2026
EPSS score0.30%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-284Improper Access ControlThe product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
- CWE-639Authorization Bypass Through User-Controlled KeyThe system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Affected systems
Gitea2 products
- gitea< 1.25.4
- gitea open source git server≤ 1.25.3
Code.gitea.io1 product
- gitea< 1.25.4
Github.com/go-gitea1 product
- gitea< 1.25.4
3 vendors · 4 products
References
10 links- blog.gitea.com/release-of-1.25.4/Release Notes
- github.com/go-gitea/giteaPACKAGE