{"id":"CVE-2026-20904","aliases":["CVE-2026-20904","GHSA-qqgv-v353-cv8p","BIT-GITEA-2026-20904","GHSA-jrpc-w85r-hgqx","GO-2026-4369"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"Gitea does not properly validate ownership when toggling OpenID URI visibility in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Gitea no valida correctamente la titularidad al alternar la visibilidad de la URI de OpenID. Un usuario autenticado podría cambiar la configuración de visibilidad de las identidades OpenID de otros usuarios.","source":"nvd"}],"published":"2026-01-22T22:01:51.762Z","modified":"2026-09-08T08:47:33.628Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-284","CWE-639"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.25.3","status":"affected"}],"vendor":"Gitea","product":"Gitea Open Source Git Server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"github.com/go-gitea/gitea","purl":"pkg:golang/github.com/go-gitea/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","fixed":"1.25.4"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.25.4"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx","tags":["broken-link","vendor-advisory","web"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/36346","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/36361","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.4","tags":["article","release-notes","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://blog.gitea.com/release-of-1.25.4/","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20904","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/commit/ed5720af2ac94d74f822721c05b42b6148ff9c22","tags":["web"],"sources":["ghsa","go"]},{"url":"https://blog.gitea.com/release-of-1.25.4","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-qqgv-v353-cv8p","tags":["advisory"],"sources":["go"]}],"credits":["spingARbor"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-23T17:52:05.088Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-20904","url":"https://www.cve.org/CVERecord?id=CVE-2026-20904","licence":"CVE Terms of Use","modified":"2026-01-23T21:53:53.397Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qqgv-v353-cv8p","url":"https://github.com/advisories/GHSA-qqgv-v353-cv8p","licence":"CC-BY-4.0","modified":"2026-02-03T03:08:53.789Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-4369","url":"https://pkg.go.dev/vuln/GO-2026-4369","licence":"CC-BY-4.0","modified":"2026-03-03T04:57:54.244Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-20904","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-20904","licence":"Public domain","modified":"2026-06-17T10:18:00.723Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2026-20904","url":"https://osv.dev/vulnerability/BIT-GITEA-2026-20904","licence":"Apache-2.0","modified":"2026-09-08T08:47:33.628Z"}],"updatedAt":"2026-11-25T22:59:13.082Z","epss":{"score":0.00302,"percentile":0.2465,"date":"2026-12-01T12:00:22.000Z"}}