Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-gitea/gitea
  4. ›
  5. CVE-2026-20904

CVE-2026-20904: Gitea does not properly validate ownership when toggling OpenID URI visibility

January 23, 2026

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

  • blog.gitea.com/release-of-1.25.4
  • github.com/advisories/GHSA-qqgv-v353-cv8p
  • github.com/go-gitea/gitea
  • github.com/go-gitea/gitea/commit/ed5720af2ac94d74f822721c05b42b6148ff9c22
  • github.com/go-gitea/gitea/pull/36346
  • github.com/go-gitea/gitea/pull/36361
  • github.com/go-gitea/gitea/releases/tag/v1.25.4
  • nvd.nist.gov/vuln/detail/CVE-2026-20904

Code Behaviors & Features

Detect and mitigate CVE-2026-20904 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.25.4

Fixed versions

  • 1.25.4

Solution

Upgrade to version 1.25.4 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/github.com/go-gitea/gitea/CVE-2026-20904.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:21 +0000.