Skip to content
OpenAdvisories

Product · Gitea

Gitea Open Source Git Server

97 known vulnerabilities.

97 results · Feed

  • 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.

  • High 8.1

    Gitea organization forks can expose organization secrets without create permission

    Gitea versions before 1.26.0 allow API users to fork a repository into an organization without first passing the CanCreateOrgRepo check, which can expose organization secrets.

  • High 7.1

    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.

  • Medium 5.3

    Gitea tracked-time list endpoint has insufficient permission checks

    Gitea versions before 1.25.5 have insufficient permission checks when listing tracked time entries.

  • 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.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.

  • Medium 4.3

    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.

  • 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.

  • Medium 6.5

    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.

  • Medium 6.5

    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 notificati…

  • Medium 6.5

    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.

  • Low 3.5

    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, potenti…

  • High 7.5

    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…

  • 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.