Vulnerability advisory
CVE-2026-20904
Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes
Also known as BIT-gitea-2026-20904GHSA-jrpc-w85r-hgqxGHSA-qqgv-v353-cv8pGO-2026-4369
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before 369830bada2fd8826a5135cb2fc66660a9bef708 | 369830bada2fd8826a5135cb2fc66660a9bef708 |
Also listed as affected (43)
| |
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.
References
- Advisoryblog.gitea.com/release-of-1.25.4/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20904.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.25.4 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-20904 ↗
- Fixgithub.com/go-gitea/gitea/pull/36346 ↗
- Fixgithub.com/go-gitea/gitea/pull/36361 ↗