# CVE-2026-20904: Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-22 · Modified: 2026-01-23
- Aliases: GHSA-qqgv-v353-cv8p, BIT-gitea-2026-20904, GHSA-jrpc-w85r-hgqx, GO-2026-4369
- Record: https://cvemate.com/vulnerability/CVE-2026-20904 · JSON: https://cvemate.com/vulnerability/CVE-2026-20904/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.302%, percentile 24.586%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea: \< 1.25.4
- gitea gitea open source git server: ≤ 1.25.3
- code.gitea.io gitea (Go): \< 1.25.4
- github.com/go-gitea gitea (Go): \< 1.25.4

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx>
- <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://blog.gitea.com/release-of-1.25.4/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-20904>
- <https://github.com/go-gitea/gitea/commit/ed5720af2ac94d74f822721c05b42b6148ff9c22>
- <https://blog.gitea.com/release-of-1.25.4>
- <https://github.com/go-gitea/gitea>
- <https://github.com/advisories/GHSA-qqgv-v353-cv8p>

---

Data as of 2026-12-05T14:58:55.259Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
