CVE-2026-20904: Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes
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 24.5% of scored vulnerabilities.
Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?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 versions- 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
25%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.30% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
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
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
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