What’s Vulnerable › Vulnerabilities
CVE-2026-20904: Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-01-22 · updated 2026-06-17
- Weakness: CWE-284
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.
Affected products
- Gitea Open Source Git Server: before 1.25.4 — fixed in 1.25.4
How to fix
Upgrade to a fixed version: Gitea Open Source Git Server 1.25.4. Check the vendor advisory for mitigations.
References
- https://blog.gitea.com/release-of-1.25.4/
- https://github.com/go-gitea/gitea/pull/36346
- https://github.com/go-gitea/gitea/pull/36361
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx
Get alerted when CVE-2026-20904 or the next vulnerability affects your stack