CVE-2026-20904: Gitea Open Source Git Server · Improper Access Control
Affects Gitea Open Source Git ServerSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium.
Data as of 26 Oct 2026, 08:30 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GiteaGitea Open Source Git Server | Affected
| Fixed in– |
AI-suggested
To mitigate CVE-2026-20904, European organizations should implement the following specific measures: 1) Immediately audit current Gitea instances to identify any unauthorized changes to OpenID visibility settings and review user permissions related to identity management. 2) Restrict access to the OpenID visibility toggling functionality to only trusted administrators or the respective identity owners by enforcing stricter access control policies within Gitea. 3) Monitor logs for unusual activity related to OpenID URI visibility changes to detect potential exploitation attempts early. 4) If possible, disable OpenID integration temporarily until a patch or official fix is released by the Gitea project. 5) Engage with the Gitea community or maintainers to track the release of patches or updates addressing this vulnerability and apply them promptly. 6) Educate users and administrators about the risks of improper access control and encourage strong authentication and account security practices to reduce the risk of compromised credentials. 7) Consider implementing additional network segmentation or multi-factor authentication to limit the impact of compromised accounts. These steps go beyond generic advice by focusing on identity-specific controls and proactive monitoring tailored to this vulnerability.
Description
CVE-2026-20904 is a medium severity vulnerability in the Gitea open source Git server where authenticated users can improperly toggle the visibility of other users' OpenID URIs due to insufficient ownership validation. This improper access control flaw allows attackers to alter identity visibility settings without authorization, potentially impacting user privacy and trust. The vulnerability requires authentication but no user interaction beyond that, and does not affect confidentiality directly but impacts integrity of user settings. There are no known exploits in the wild yet. European organizations using Gitea for source code management should assess their exposure and apply mitigations promptly. The vulnerability is particularly relevant for countries with strong open source adoption and active software development communities. Mitigation involves restricting access controls, auditing user permissions, and monitoring changes to OpenID visibility settings. No official patch links are currently available, so organizations should follow Gitea updates closely. Overall, this vulnerability highlights the importance of strict access control enforcement in collaborative development platforms.
References
- github.com/go-gitea/gitea/security/advisories/GHSA-jrpc-w85r-hgqx (opens in a new tab)
- github.com/go-gitea/gitea/pull/36346 (opens in a new tab)
- github.com/go-gitea/gitea/pull/36361 (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v1.25.4 (opens in a new tab)
- blog.gitea.com/release-of-1.25.4/ (opens in a new tab)