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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2026-01-22T22:01:51.762Z
- Modified: 2026-09-08T08:47:33.628Z
- Also known as: GHSA-qqgv-v353-cv8p, BIT-GITEA-2026-20904, GHSA-jrpc-w85r-hgqx, GO-2026-4369
- Weaknesses: CWE-284, CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.25.3
- github.com/go-gitea/gitea (Go): before 1.25.4
- code.gitea.io/gitea (Go): before 1.25.4
- gitea gitea: before 1.25.4
- gitea (Bitnami): before 1.25.4

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx> (broken-link, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/36346> (fix, issue-tracking, patch, web)
- <https://github.com/go-gitea/gitea/pull/36361> (fix, issue-tracking, patch, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.4> (article, release-notes, web)
- <https://blog.gitea.com/release-of-1.25.4/> (article, release-notes)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-20904> (advisory, web)
- <https://github.com/go-gitea/gitea/commit/ed5720af2ac94d74f822721c05b42b6148ff9c22> (web)
- <https://blog.gitea.com/release-of-1.25.4> (web)
- <https://github.com/go-gitea/gitea> (package)
- <https://github.com/advisories/GHSA-qqgv-v353-cv8p> (advisory)

## Sources

- CVE List: [CVE-2026-20904](https://www.cve.org/CVERecord?id=CVE-2026-20904), CVE Terms of Use, modified 2026-01-23
- GitHub Advisory Database: [GHSA-qqgv-v353-cv8p](https://github.com/advisories/GHSA-qqgv-v353-cv8p), CC-BY-4.0, modified 2026-02-03
- Go Vulnerability Database: [GO-2026-4369](https://pkg.go.dev/vuln/GO-2026-4369), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2026-20904](https://nvd.nist.gov/vuln/detail/CVE-2026-20904), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITEA-2026-20904](https://osv.dev/vulnerability/BIT-GITEA-2026-20904), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-20904 · Whole record: https://cve.day/CVE-2026-20904.json · Rebuilt by cve.day 2026-11-25T22:59:13.082Z
