CVE-2026-20904 Details
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.
A vulnerability exists in Gitea that allows authenticated users to improperly manage the visibility of OpenID URIs belonging to other users. This issue arises because the application fails to adequately verify ownership when users attempt to change visibility settings for OpenID identities.
Users can upgrade to Gitea version 1.25.4 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.25.4/ | Gitea Limited | Release Notes |
| https://github.com/go-gitea/gitea/pull/36346 | Gitea Limited | Issue TrackingPatch |
| https://github.com/go-gitea/gitea/pull/36361 | Gitea Limited | Issue TrackingPatch |
| https://github.com/go-gitea/gitea/releases/tag/v1.25.4 | Gitea Limited | Release Notes |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx | Gitea Limited | Broken Link |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | Gitea Limited |
| CWE-639 | Authorization Bypass Through User-Controlled Key | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| gitea gitea | < 1.25.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | Gitea Limited |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 29, 2026 | Initial Analysis | [email protected] |
| Jan 23, 2026 | CVE Modified | CISA-ADP |
| Jan 22, 2026 | New CVE Received | Gitea Limited |