Vulnerabilidades do Gitea Gitea
🔔 Criar alerta RSS Verificador de versão
CVEs publicadas que afetam Gitea Gitea: 98 registro(s), com versões afetadas e correções.cpe:2.3:a:gitea:gitea
CVE-2026-101029
Média · 4.3
CWE-209 06/10/2026
Gitea migration and pull mirror SSRF through multi-answer DNS
Gitea's repository migration and pull mirror egress checks could be bypassed with a hostname that returns multiple DNS answers, because the address that was validated was not necessarily the address Git later connected to. A low-privileged user who can create migrations or mirrors could direct the server to internal services, reading from and writing to reachable internal Git or HTTP endpoints. Content from internal responses could additionally be disclosed through migration and mirror error messages.
CVE-2026-101027
Alta · 7.7
CWE-346 06/10/2026
Gitea migration SSRF through ALLOWED_DOMAINS address check bypass
When `[migrations] ALLOWED_DOMAINS` was configured, a hostname matching the allow list was accepted without checking its resolved address against the local-network restrictions. A user who can start repository migrations and control the DNS of an allowed hostname could make it resolve to loopback or private addresses and bypass `ALLOW_LOCALNETWORKS = false`, reaching internal services from the Gitea server. Instances without `ALLOWED_DOMAINS` configured are not affected by this specific bypass.
CVE-2026-60004
Crítica · 9.8
KEV Urgente · 73 Exploit público CWE-94 26/08/2026
Gitea Code Injection Vulnerability
Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.
CVE-2026-34966
Alta · 7.6
CWE-918 05/08/2026
Gitea prior to 1.27.0 SSRF via Migration URI Fetch Bypass
Gitea prior to 1.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to bypass SSRF protections by exploiting HTTP fetch operations in migration and OAuth avatar code paths that use Go's default http.Get without a custom DialContext. Attackers can supply arbitrary URLs through release asset download URLs, pull-request patch URLs, or OAuth avatar endpoints to reach internal services, cloud instance-metadata endpoints, or read local files such as the application configuration containing database credentials and signing secrets, with exfiltrated content persisted as migration release assets for later retrieval.
CVE-2026-20912
Crítica · 9.1
CWE-284 22/01/2026
Gitea: Cross-Repository Authorization Bypass via Release Attachment Linking Leads to Private Attachment Disclosure
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.
CVE-2026-20904
Média · 6.5
CWE-284 22/01/2026
Gitea: Broken access control in OpenID visibility toggle enables cross-user visibility changes
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.
CVE-2026-20897
Crítica · 9.1
CWE-284 22/01/2026
Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)
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.
CVE-2026-20888
Média · 4.3
CWE-284 22/01/2026
Gitea Pull Requests Auto-Merge: Read-Only Users Can Cancel Scheduled Auto-Merge via Web Endpoint (Authorization Bypass)
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.
CVE-2026-20883
Média · 6.5
CWE-284 22/01/2026
Gitea Stopwatch API Missing Authorization Check Leads to Post-Revocation Information Disclosure
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.
CVE-2026-20800
Média · 6.5
CWE-200 22/01/2026
Notification API Leaks Private Repository Issue Titles After Collaborator Permission Revocation
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.
CVE-2026-20750
Crítica · 9.1
CWE-284 22/01/2026
Gitea Organization Projects Cross-Organization Authorization Bypass via Project ID (IDOR)
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.
CVE-2026-20736
Alta · 7.5
CWE-284 22/01/2026
Gitea Web Attachment Deletion: Cross-Repository Unauthorized Deletion via Missing Repo Ownership Check
Gitea does not properly verify repository context when deleting attachments. A user who previously uploaded an attachment to a repository may be able to delete it after losing access to that repository by making the request through a different repository they can access.
CVE-2026-0798
Baixa · 3.5
CWE-284 22/01/2026
Gitea Release Email Notifications Leak Private Repository Release Details After Access Revocation
Gitea may send release notification emails for private repositories to users whose access has been revoked. When a repository is changed from public to private, users who previously watched the repository may continue to receive release notifications, potentially disclosing release titles, tags, and content.
CVE-2025-69413
Média · 5.3
CWE-204 01/01/2026
Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username exists
In Gitea before 1.25.2, /api/v1/user has different responses for failed authentication depending on whether a username exists.
CVE-2025-68946
Média · 5.4
CWE-79 26/12/2025
Cross-site Scripting (XSS) em Gitea
In Gitea before 1.20.1, a forbidden URL scheme such as javascript: can be used for a link, aka XSS.
CVE-2025-68945
Média · 5.3
CWE-359 26/12/2025
In Gitea before 1.21.2, an anonymous user can visit a private user's project.
In Gitea before 1.21.2, an anonymous user can visit a private user's project.
CVE-2025-68944
Média · 5.3
CWE-441 26/12/2025
Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access…
Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries.
CVE-2025-68943
Média · 5.3
CWE-497 26/12/2025
Gitea before 1.21.8 inadvertently discloses users' login times by allowing (for example)…
Gitea before 1.21.8 inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order.
CVE-2025-68942
Média · 5.4
CWE-79 26/12/2025
Cross-site Scripting (XSS) em Gitea
Gitea before 1.22.2 allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text.
CVE-2025-68941
Média · 5.3
CWE-863 26/12/2025
Incorrect Authorization em Gitea
Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.
CVE-2025-68940
Média · 5.3
CWE-863 26/12/2025
Incorrect Authorization em Gitea
In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.
CVE-2025-68939
Média · 5.3
CWE-424 26/12/2025
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions…
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
CVE-2025-68938
Média · 5.3
CWE-863 25/12/2025
Incorrect Authorization em Gitea
Gitea before 1.25.2 mishandles authorization for deletion of releases.