CVE-2026-20904
MEDIUM 6.5CVSS 3.1Gitea does not properly validate ownership when toggling OpenID URI visibility
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.
- Published
- 22 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- NVD status
- Analyzed
- Weakness
- CWE-284
- Also known as
- BIT-gitea-2026-20904GHSA-jrpc-w85r-hgqxGHSA-qqgv-v353-cv8pGO-2026-4369
- Sources
- NVDJSONOSV GHSA-qqgv-v353-cv8pJSONOSV GO-2026-4369JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:* |
< 1.25.4 | 1.25.4 |
| OSV | Go | github.com/go-gitea/gitea | < 1.25.4 | 1.25.4 |
| OSV | Go | code.gitea.io/gitea | < 1.25.4 | 1.25.4 |
References
- https://blog.gitea.com/release-of-1.25.4/ · Release Notes, WEB
- https://github.com/go-gitea/gitea/pull/36346 · Issue Tracking, Patch, WEB
- https://github.com/go-gitea/gitea/pull/36361 · Issue Tracking, Patch, WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4 · Release Notes, WEB
- https://github.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx · Broken Link
- https://nvd.nist.gov/vuln/detail/CVE-2026-20904 · ADVISORY
- https://github.com/go-gitea/gitea/commit/ed5720af2ac94d74f822721c05b42b6148ff9c22 · WEB
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/advisories/GHSA-qqgv-v353-cv8p · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 22 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Feb 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Jan 2026)