CVE Intelligence

Gitea vulnerabilities

🔔 Create alert RSS

Published CVEs affecting Gitea products: 175 record(s), with severity, exploitation and fixes.

Exploited only (KEV) →

CVE-2026-22547 Critical · 9.1 CWE-20 Jul 3, 2026
Gitea repository creation accepts invalid field values
Gitea versions before 1.25.5 lack validation constraints for repository creation fields, including length-limited template fields and trust model or object format values.
CVE-2026-20909 Medium · 5.3 CWE-284 Jul 3, 2026
Gitea tracked-time list endpoint has insufficient permission checks
Gitea versions before 1.25.5 have insufficient permission checks when listing tracked time entries.
CVE-2026-20896 Critical · 9.8 CWE-284 Jul 3, 2026
Gitea Docker image trusts spoofable reverse-proxy headers by default
Gitea Docker image versions up to and including 1.26.2 use REVERSE_PROXY_TRUSTED_PROXIES=* by default, allowing any source IP to impersonate a user when reverse-proxy authentication headers such as X-WEBAUTH-USER are enabled.
CVE-2026-20779 High · 7.1 CWE-294 Jul 3, 2026
Gitea TOTP single-use enforcement defect allows OTP replay
Gitea versions from 1.5.0 before 1.26.3 have a TOTP single-use enforcement defect that allows a valid TOTP code to be accepted more than once across web two-factor authentication flows and the Basic Auth X-Gitea-OTP path.
CVE-2026-20706 Critical · 9.1 CWE-284 Jul 3, 2026
Gitea repository archive downloads bypass token scope checks
Gitea versions up to and including 1.26.1 allow repository archive downloads to bypass token scope checks on the web archive download endpoint.
CVE-2026-58053 Critical · 9.9 CWE-269 Jun 27, 2026
Gitea act_runner Docker Backend Container Options Privilege Escalation
Gitea act_runner with the Docker backend (through act 0.262.0) passes a workflow's container.options string to the Docker job container's HostConfig and, when configured with privileged: false, forces only the Privileged flag off while merging options such as --pid=host, --cap-add, and --security-opt unchanged. A user who can run a workflow on a Docker-backed runner can create a job container with host namespaces and broad capabilities and escape to the host as root despite privileged mode being disabled.
CVE-2026-20912 Critical · 9.1 CWE-284 Jan 22, 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 Medium · 6.5 CWE-284 Jan 22, 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 Critical · 9.1 CWE-284 Jan 22, 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 Medium · 4.3 CWE-284 Jan 22, 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 Medium · 6.5 CWE-284 Jan 22, 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 Medium · 6.5 CWE-200 Jan 22, 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 Critical · 9.1 CWE-284 Jan 22, 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 High · 7.5 CWE-284 Jan 22, 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 Low · 3.5 CWE-284 Jan 22, 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 Medium · 5.3 CWE-204 Jan 1, 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 Medium · 5.4 CWE-79 Dec 26, 2025
Cross-site Scripting (XSS) in 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 Medium · 5.3 CWE-359 Dec 26, 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 Medium · 5.3 CWE-441 Dec 26, 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 Medium · 5.3 CWE-497 Dec 26, 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 Medium · 5.4 CWE-79 Dec 26, 2025
Cross-site Scripting (XSS) in 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 Medium · 5.3 CWE-863 Dec 26, 2025
Incorrect Authorization in 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 Medium · 5.3 CWE-863 Dec 26, 2025
Incorrect Authorization in Gitea
In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.
CVE-2025-68939 Medium · 5.3 CWE-424 Dec 26, 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 Medium · 5.3 CWE-863 Dec 25, 2025
Incorrect Authorization in Gitea
Gitea before 1.25.2 mishandles authorization for deletion of releases.