Vulnerability · Published Jan 22, 2026 · Assigned by Gitea
CVE-2026-20904Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes
Medium 6.5
In plain English
A medium-severity improper access control in Gitea Open Source Git Server from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 77.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.25.4 | GO-2026-4369 |
| Go | github.com/go-gitea/gitea | 1.25.4 | GHSA-qqgv-v353-cv8p |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – through 1.25.3 |
Weakness: CWE-284, CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
References
- GitHub Security Advisory vendor-advisory
- GitHub Pull Request #36346 patch
- GitHub Pull Request #36361 patch
- Gitea v1.25.4 Release release-notes
- Gitea v1.25.4 Release Blog Post release-notes