Skip to content
OpenAdvisories

Vendor

Gitea

210 known vulnerabilities.

33 results · Clear filters · Feed

  • Critical 9.1

    Gitea public-only package token access to private OCI blobs

    The OCI registry's cross-repository blob mount checked the target package against the token's `public-only` restriction, but checked the source blob only against the full account permissions of the token owner. A `public-only` token with `write:package` scope…

  • Critical 9.1

    Gitea public-only token bypass through Actions runner registration

    Gitea did not reject personal access tokens restricted to public resources (`public-only`) on the organization Actions runner registration-token endpoint, and the runner registered with the resulting token was not limited to public repositories. Holding only …

  • Critical 9.8

    Gitea OAuth2 account auto-linking takeover through the sign-up form

    When `[oauth2_client].ACCOUNT_LINKING` is set to `auto` (not the default) and registration is enabled, the link-account sign-up form looked up the existing account to link by the user name or email submitted in the form instead of the identity asserted by the…

  • Critical 9.8
    CVE-2026-59774 Public exploit Scanner template EPSS 28%

    Gitea Org-mode file disclosure and code execution

    Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea ser…

  • Critical 9.1

    Gitea OAuth2 refresh token grant accepts access tokens

    Gitea's OAuth2 token endpoint verified the signature and grant of a token submitted with the `refresh_token` grant type, but not that the token was a refresh token. An unexpired access token for the same OAuth2 application and grant could be exchanged for a n…

  • Critical 9.8

    Gitea WebAuthn bypass during OAuth and OIDC sign-in

    Gitea's OAuth2 and OpenID Connect sign-in paths do not require a WebAuthn challenge when WebAuthn is the account's only configured second factor. A party able to authenticate through the affected external identity flow can obtain a full session without the pa…

  • Critical 9.8

    Gitea fork workflow approval bypass through maintainer-triggered events

    Gitea Actions decided whether a fork pull request run needed approval based on the user who triggered the event rather than the pull request author. For `pull_request` activity triggered by a maintainer during ordinary triage, such as adding a label, the run …

  • Critical 9.1

    Gitea review and execution mismatch through duplicate tree entries

    Gitea accepted pushed Git trees containing two entries with the same name, which Git's own consistency checks reject. Gitea's web views resolved such a path to the first entry, while `git checkout`, Gitea Actions, and release archives use the last. A contribu…

  • Critical 9.1

    Gitea built-in SSH server authentication bypass through key case folding

    When Gitea's built-in SSH server is enabled (`START_SSH_SERVER = true`), the presented public key was looked up with an SQL `LIKE` comparison of its encoded content, which is case-insensitive on some databases, including the default SQLite. An attacker who ca…

  • Critical 9.8
    CVE-2026-60004 Exploited Public exploit Scanner template EPSS 24%

    Gitea: Remote Code Execution via diffpatch Git Hook Installation

    Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation.

    KEV Aug 25, 2026
  • Critical 9.1

    Two SSRF vulnerabilities in Gitea migration/mirror (DNS rebinding + missing re-validation)

    Two SSRF vulnerabilities in Gitea migration/mirror (DNS rebinding + missing re-validation)

  • Critical 9.1

    Public-only repository tokens can update private PR head branches

    Public-only repository tokens can update private PR head branches

  • Critical 9.1

    Team-repository linking endpoint bypasses the RepoAdminChangeTeamAccess organization setting

    Team-repository linking endpoint bypasses the RepoAdminChangeTeamAccess organization setting

  • Critical 9.1

    Gitea Remember-Me Token Theft Not Invalidating Attacker Session

    Gitea Remember-Me Token Theft Not Invalidating Attacker Session

  • Critical 9.6

    Token public-only scope bypassed on Limited-visibility owners (Repository + Package categories) — residual after CVE-2026-25714 / PR #37118

    Token public-only scope bypassed on Limited-visibility owners (Repository + Package categories) — residual after CVE-2026-25714 / PR #37118

  • Critical 9.8

    Privilege Escalation via Access Token Scope Escalation in API

    Privilege Escalation via Access Token Scope Escalation in API

  • Critical 9.1

    OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes

    OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes

  • Critical 9.6

    Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write

    Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write

  • Critical 9.8

    Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts

    Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts

  • Critical 9.8

    Gitea pre-receive hook can miss branch-protection checks after scanner errors

    Gitea versions before 1.26.0 do not fail closed on bufio.Scanner errors while processing pre-receive hook input, allowing oversized input to bypass branch-protection checks.

  • Critical 9.8

    Gitea LFS mirror synchronization bypasses migration HTTP transport restrictions

    Gitea versions before 1.25.5 do not use the migration HTTP transport for LFS push and sync mirror operations, bypassing the configured migration transport protections for those LFS requests.

  • Critical 9.1

    Gitea OAuth2 authorization codes lack expiry and reuse enforcement

    Gitea versions before 1.25.5 do not consistently enforce OAuth2 authorization code expiry and single-use behavior during token exchange.

  • Critical 9.1

    Gitea OAuth2 PKCE S256 challenges are not enforced during token exchange

    Gitea versions before 1.25.5 do not persist the OAuth2 PKCE S256 challenge method correctly during authorization, allowing token exchange without the expected verifier check.

  • Critical 9.1

    Gitea template repository generation mishandles symlinked paths

    Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write through symlinked or otherwise non-regular paths.

  • Critical 9.6
    CVE-2026-22874 Public exploit

    Gitea webhook and migration allow-list filtering permits SSRF

    Gitea versions up to and including 1.26.2 have incomplete SSRF protection in webhook and migration allow-list filtering.

  • Critical 9.1

    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.

  • Critical 9.8
    CVE-2026-20896 Public exploit Scanner template

    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.

  • Critical 9.1

    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.

  • Critical 9.9

    Gitea act_runner - Container Hardening Bypass via Workflow Container Options

    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…

  • Critical 9.1

    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.

  • Critical 9.1

    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.

  • Critical 9.1

    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.

  • Critical 10.0
    CVE-2024-6886 Scanner template EPSS 33%

    Inproper Sanitation of field leading to stored XSS

    Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea Gitea Open Source Git Server allows Stored XSS.This issue affects Gitea Open Source Git Server: 1.22.0.