Github.Com Go-Gitea Gitea vulnerabilities
19 known vulnerabilities affecting github.com/go-gitea_gitea.
Total CVEs
19
CISA KEV
0
Public exploits
1
Exploited in wild
0
Severity breakdown
CRITICAL3HIGH5MEDIUM9LOW2
Vulnerabilities
Page 1 of 1
CVE-2026-20897MEDIUM≥ 0, < 1.25.42026-01-23
CVE-2026-20897 [MEDIUM] CWE-284 Gitea does not properly validate repository ownership when deleting Git LFS locks
Gitea does not properly validate repository ownership when deleting Git LFS locks
Gitea does not properly validate repository ownership when deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories.
ghsaosv
CVE-2026-20912MEDIUM≥ 0, < 1.25.42026-01-23
CVE-2026-20912 [MEDIUM] CWE-284 Gitea does not properly validate repository ownership when linking attachments to releases
Gitea does not properly validate repository ownership when linking attachments to releases
Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.
ghsaosv
CVE-2026-20888MEDIUM≥ 0, < 1.25.42026-01-23
CVE-2026-20888 [MEDIUM] CWE-284 Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface
Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface
Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface. A user with read access to pull requests may be able to cancel auto-merges scheduled by other users.
ghsaosv
CVE-2026-20750MEDIUM≥ 0, < 1.25.42026-01-23
CVE-2026-20750 [MEDIUM] CWE-284 Gitea does not properly validate project ownership in organization project operations
Gitea does not properly validate project ownership in organization project operations
Gitea does not properly validate project ownership in organization project operations. A user with project write access in one organization may be able to modify projects belonging to a different organization.
ghsaosv
CVE-2026-20904MEDIUM≥ 0, < 1.25.42026-01-23
CVE-2026-20904 [MEDIUM] CWE-284 Gitea does not properly validate ownership when toggling OpenID URI visibility
Gitea 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.
ghsaosv
CVE-2026-20800LOW≥ 0, < 1.25.42026-01-23
CVE-2026-20800 [LOW] CWE-200 Gitea improperly exposes issue and pull request titles
Gitea improperly exposes issue and pull request titles
Gitea's notification API does not re-validate repository access permissions when returning notification details. After a user's access to a private repository is revoked, they may still view issue and pull request titles through previously received notifications.
ghsaosv
CVE-2026-20883LOW≥ 0, < 1.25.42026-01-23
CVE-2026-20883 [LOW] CWE-284 Gitea improperly exposes issue titles and repository names through previously started stopwatches
Gitea improperly exposes issue titles and repository names through previously started stopwatches
Gitea's stopwatch API does not re-validate repository access permissions. After a user's access to a private repository is revoked, they may still view issue titles and repository names through previously started stopwatches.
ghsaosv
CVE-2020-28991CRITICAL≥ 0.9.99, < 1.12.62024-04-24
CVE-2020-28991 [CRITICAL] CWE-284 Improper Access Control in Gitea
Improper Access Control in Gitea
Gitea 0.9.99 through 1.12.x before 1.12.6 does not prevent a git protocol path that specifies a TCP port number and also contains newlines (with URL encoding) in ParseRemoteAddr in modules/auth/repo_form.go.
ghsaosv
CVE-2021-3382HIGH≥ 1.9.0, < 1.13.22024-04-24
CVE-2021-3382 [HIGH] CWE-787 Buffer Overflow in gitea
Buffer Overflow in gitea
Stack buffer overflow vulnerability in gitea 1.9.0 through 1.13.1 allows remote attackers to cause a denial of service (crash) via vectors related to a file path.
ghsaosv
CVE-2022-42968CRITICAL≥ 0, < 1.17.32022-10-16
CVE-2022-42968 [CRITICAL] CWE-88 Gitea vulnerable to Argument Injection
Gitea vulnerable to Argument Injection
Gitea before 1.17.3 does not sanitize and escape refs in the git backend. Arguments to git commands are mishandled.
ghsaosv
CVE-2019-11228HIGH≥ 0, < 1.7.62022-02-15
CVE-2019-11228 [HIGH] CWE-20 Gitea Improper Input Validation
Gitea Improper Input Validation
repo/setting.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 does not validate the `form.MirrorAddress` before calling `SaveAddress`.
### Specific Go Packages Affected
github.com/go-gitea/gitea/models
ghsaosv
CVE-2019-11229HIGHPoC≥ 0, < 1.7.62022-02-15
CVE-2019-11229 [HIGH] CWE-94 Gitea Remote Code Execution
Gitea Remote Code Execution
models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.
ghsaosv
CVE-2020-13246HIGH≥ 0, < 1.12.02022-02-15
CVE-2020-13246 [HIGH] CWE-667 Denial of Service in Gitea
Denial of Service in Gitea
An issue was discovered in Gitea in which an attacker can trigger a deadlock by initiating a transfer of a repository's ownership from one organization to another.
ghsaosv
CVE-2018-1000803MEDIUM≥ 0, < 1.5.12022-02-15
CVE-2018-1000803 [MEDIUM] CWE-200 Gitea Exposes Private Email Addresses
Gitea Exposes Private Email Addresses
Gitea version prior to version 1.5.1 contains a CWE-200 vulnerability that can result in Exposure of users private email addresses. This attack appear to be exploitable via Watch a repository to receive email notifications. Emails received contain the other recipients even if they have the email set as private. This vulnerability appears to have been fixed in 1.5.1.
### Specific Go Pac
ghsaosv
CVE-2021-45329MEDIUM≥ 0, < 1.5.12022-02-10
CVE-2021-45329 [MEDIUM] CWE-79 Cross-site Scripting in Gitea
Cross-site Scripting in Gitea
Cross Site Scripting (XSS) vulnerability exists in Gitea before 1.5.1 via the repository settings inside the external wiki/issue tracker URL field.
ghsaosv
CVE-2021-45327CRITICAL≥ 0, < 1.11.22022-02-09
CVE-2021-45327 [CRITICAL] CWE-294 Capture-replay in Gitea
Capture-replay in Gitea
Gitea is a project to help users set up a self-hosted Git service. Gitea before 1.11.2 is affected by Trusting HTTP Permission Methods on the Server Side when referencing the vulnerable admin or user API. This could allow a remote malicious user to execute arbitrary code.
ghsaosv
CVE-2021-45326HIGH≥ 0, < 1.5.22022-02-09
CVE-2021-45326 [HIGH] CWE-352 Cross Site Request Forgery in Gitea
Cross Site Request Forgery in Gitea
Cross Site Request Forgery (CSRF) vulnerability exists in Gitea before 1.5.2 via API routes.This can be dangerous especially with state altering POST requests.
ghsaosv
CVE-2021-45325MEDIUM≥ 0, < 1.7.02022-02-09
CVE-2021-45325 [MEDIUM] CWE-918 Gitea displaying raw OpenID error in UI
Gitea displaying raw OpenID error in UI
Gitea is a project to help users set up a self-hosted Git service. Server Side Request Forgery (SSRF) vulnerability exists in Gitea before 1.7.0 using the OpenID URL. Gitea can leak sensitive information about the local network through the error provided by the UI.
ghsaosv
CVE-2021-45328MEDIUM≥ 0, < 1.4.32022-02-09
CVE-2021-45328 [MEDIUM] CWE-601 Open redirect in Gitea
Open redirect in Gitea
Gitea before 1.4.3 is affected by URL Redirection to Untrusted Site ('Open Redirect') via internal URLs.
ghsaosv