
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-20904 is an improper access control vulnerability in Gitea that allows an authenticated user to modify the OpenID URI visibility settings of other users' OpenID identities without authorization. It affects all Gitea versions prior to 1.25.4. The vulnerability was published on January 22, 2026, with the fix merged on January 13, 2026, and released in Gitea v1.25.4 on January 22, 2026. It carries a CVSS v3.1 base score of 6.5 (Medium) and a CVSS v4.0 base score of 5.3 (Moderate) (GitHub Advisory, Gitea Release).
The root cause is classified as CWE-284 (Improper Access Control) and CWE-639 (Authorization Bypass Through User-Controlled Key). When a user toggles the visibility of an OpenID URI, Gitea fails to validate that the OpenID identity being modified belongs to the requesting user, allowing any authenticated user to supply another user's OpenID record identifier and alter its visibility state. The fix was implemented in pull requests #36346 and #36361, which added proper ownership checks to the OpenID settings handler (GitHub Advisory, PR #36346, PR #36361).
An authenticated attacker with low privileges can modify the visibility settings of OpenID identities belonging to other users without authorization. This could result in unintended exposure of another user's OpenID authentication credentials (making a private OpenID URI public) or restriction of access by hiding a user's OpenID identity, potentially disrupting legitimate authentication flows. There is no confidentiality or availability impact; the primary risk is unauthorized integrity modification of user authentication configuration data (GitHub Advisory).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time. The EPSS score is approximately 0.017–0.018%, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires a valid authenticated session on the target Gitea instance, limiting the attack surface to registered users (GitHub Advisory).
Upgrade Gitea to version 1.25.4 or later, which includes the fix for this vulnerability via pull requests #36346 and #36361. No configuration-based workaround is available; patching is the only remediation. Administrators should prioritize upgrading instances where OpenID authentication is enabled and multiple users have OpenID identities configured. After upgrading, review audit logs to determine whether unauthorized OpenID visibility changes occurred prior to patching (Gitea Release, PR #36346).
The vulnerability received routine coverage from automated CVE tracking services and vulnerability databases. The Gitea project addressed the issue quietly as part of a broader security-focused patch release (v1.25.4), which included eight other security fixes. No notable independent researcher commentary or significant media coverage has been identified beyond standard advisory publication (Gitea Release, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."