code.gitea.io/gitea vulnerabilities

Registry
Go
Latest
1.27.3

193 known advisories

The latest version, 1.27.3, is affected by 3 of them.

Is your project on an affected code.gitea.io/gitea?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for code.gitea.io/gitea

  • LowCVE-2026-25782GO-2026-634310 Sept 2026

    Gitea tracked-time deletion is not scoped to the requested issue in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-26292GO-2026-634410 Sept 2026

    Gitea LFS mirror operations bypass migration HTTP transport protections in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-27779GO-2026-634510 Sept 2026

    Gitea forwarded-proto validation allows canonical URL spoofing in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-27780GO-2026-634610 Sept 2026

    Gitea pre-receive hook scanner errors allow branch-protection bypass in code.gitea.io/gitea

    Affected
    <1.26.0
    Fixed in
    1.26.0
  • LowCVE-2026-27660GO-2026-634710 Sept 2026

    Gitea draft releases and attachments are exposed without write permission in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-60004GO-2026-643310 Sept 2026

    Gitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.dev

    Affected
    >=1.17.0
    Fixed in
    No fix released
  • LowCVE-2026-25712GO-2026-63332 Sept 2026

    Gitea organization permission APIs expose hidden membership and private organization data in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-24690GO-2026-63342 Sept 2026

    Gitea pull request branch permission checks allow unauthorized updates and rebases in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-27657GO-2026-63352 Sept 2026

    Gitea primary email ownership bypass allows cross-user email changes in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-26232GO-2026-63362 Sept 2026

    Gitea OAuth2 authorization codes can be reused after expiry in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-28705GO-2026-63372 Sept 2026

    Gitea release asset dumps permit path traversal through crafted names in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-22547GO-2026-63382 Sept 2026

    Gitea repository creation accepts insufficiently validated fields in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-20909GO-2026-63392 Sept 2026

    Gitea exposes tracked time entries without repository authorization in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-25718GO-2026-63402 Sept 2026

    Gitea template repository generation follows unsafe filesystem paths in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-26307GO-2026-63412 Sept 2026

    Gitea git grep searches allow server resource exhaustion in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-26247GO-2026-63422 Sept 2026

    Gitea OAuth2 PKCE S256 verifier bypass in code.gitea.io/gitea

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-58426GO-2026-606027 Jul 2026

    Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state write in code.gitea.io/gitea

    Affected
    >=1.22.0 <1.26.2
    Fixed in
    1.26.2
  • LowGO-2026-607427 Jul 2026

    Gitea: API Fork Endpoint Authorization Bypass Allows Organization Members to Bypass Repository Creation Restrictions in code.gitea.io/gitea

    Affected
    <1.26.0
    Fixed in
    1.26.0
  • LowCVE-2026-58418GO-2026-607527 Jul 2026

    Gitea: SSRF via HTTP Redirect in Repository Migration in code.gitea.io/gitea

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • LowCVE-2026-25038GO-2026-607627 Jul 2026

    Gitea: Unauthorized Access to Labels of Private Organizations in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-58421GO-2026-607727 Jul 2026

    Gitea: Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service in code.gitea.io/gitea

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • LowCVE-2026-58439GO-2026-608027 Jul 2026

    Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag in go-gitea/gitea

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2026-24451GO-2026-608127 Jul 2026

    Gitea: Fork Synchronization Continues After Parent Repository Changes from Public to Private in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-27771GO-2026-601722 Jul 2026

    Gitea has insufficient permission checks for Composer package source links in code.gitea.io/gitea

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • LowCVE-2026-28740GO-2026-602922 Jul 2026

    Gitea: Git LFS object reuse allows non-Code access to authorize private source objects in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-22874GO-2026-603022 Jul 2026

    Gitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default Filter in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-27761GO-2026-603122 Jul 2026

    Gitea: API access token scope enforcement bypass on repository RSS/Atom feed endpoints leaks private repository commit data in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-58419GO-2026-604122 Jul 2026

    Gitea: Notification API leaks private issue metadata after access revocation in code.gitea.io/gitea

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • LowCVE-2026-27775GO-2026-604322 Jul 2026

    Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-58424GO-2026-604422 Jul 2026

    Gitea: Permanent Fork PR Workflow Approval Gate Bypass in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-58423GO-2026-604622 Jul 2026

    Gitea: LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories in code.gitea.io/gitea

    Affected
    >=1.23.0 <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-20896GO-2026-605122 Jul 2026

    Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER` in code.gitea.io/gitea

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • LowCVE-2026-58422GO-2026-605622 Jul 2026

    Gitea: Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accounts in code.gitea.io/gitea

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • LowCVE-2026-20779GO-2026-605722 Jul 2026

    Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface in code.gitea.io/gitea

    Affected
    >=1.5.0 <1.26.3
    Fixed in
    1.26.3
  • HighCVE-2026-20779GHSA-gx3v-q759-g32321 Jul 2026

    Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surface

    Affected
    >=1.5.0 <1.26.3
    Fixed in
    1.26.3
  • MediumCVE-2026-58429GHSA-fq2p-5p22-8g6j21 Jul 2026

    Gitea: Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-34966GHSA-2wm4-vwp6-v7xc21 Jul 2026

    Gitea: SSRF via Migration Asset Downloads Bypasses hostmatcher — Reads Internal Files and Cloud Metadata

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • LowCVE-2026-58511GHSA-3r5c-2xxx-h87221 Jul 2026

    Gitea: Webhook Authorization Header Returned in Plaintext via API

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-57897GHSA-frpw-3h2q-4jj621 Jul 2026

    Gitea: Cross-Repo Information Disclosure via Org-Level Actions Run/Job APIs

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58510GHSA-q423-49rw-g9mh21 Jul 2026

    Gitea: GHSA-8fwc-qjw5-rvgp ClearRepoWatches fix not applied to API EditRepo path — sister code path retains stale watches on public->private

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-58422GHSA-g9g6-qhrc-p3qc21 Jul 2026

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

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • HighCVE-2026-58419GHSA-44qc-pgvp-wx7v21 Jul 2026

    Gitea: Notification API leaks private issue metadata after access revocation

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • HighCVE-2026-25038GHSA-v73x-hx65-6pf421 Jul 2026

    Gitea: Unauthorized Access to Labels of Private Organizations

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • HighCVE-2026-27775GHSA-649p-mmhf-85c721 Jul 2026

    Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository Write

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • HighCVE-2026-24451GHSA-wrf9-r3h7-7x5v21 Jul 2026

    Gitea: Fork Synchronization Continues After Parent Repository Changes from Public to Private

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • HighCVE-2026-58314GHSA-2fcr-jfvc-vgg221 Jul 2026

    Gitea: Two SSRF findings

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-58436GHSA-fw57-jgch-pgf321 Jul 2026

    Gitea: ParseAcceptLanguage quadratic-time DoS via Locale middleware on unauthenticated requests

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-56657GHSA-4xjf-493q-98p321 Jul 2026

    Gitea SSH Key Parser Denial of Service

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-58437GHSA-8p9h-49rc-qgxj21 Jul 2026

    Gitea: Repository Visibility Manipulation via Git Push Options

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-55987GHSA-vrhc-jjfc-m3m321 Jul 2026

    Gitea: OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58435GHSA-rh79-75qm-gwjr21 Jul 2026

    Gitea LFS Deploy-Key Privilege Escalation

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • LowCVE-2026-55984GHSA-m932-crvm-gcp521 Jul 2026

    Gitea: Null Pointer Dereference in AddTime API Causes Authenticated Denial of Service

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-55982GHSA-mg4f-x9v4-6h2p21 Jul 2026

    Gitea: OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token Scopes

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • LowCVE-2026-58434GHSA-j2w3-9c3r-g83q21 Jul 2026

    Gitea: Private Repository Metadata Remains Accessible After Access Revocation

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-54481GHSA-94v3-77j7-vm4821 Jul 2026

    Gitea: Internal API HTTP client hardcodes InsecureSkipVerify:true with no config override

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-50105GHSA-6cqf-375w-639g21 Jul 2026

    Gitea: RSS/Atom feed handlers bypass API-token scope & public-only confinement (incomplete fix of #37698)

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-42931GHSA-wwqq-x6w4-frm221 Jul 2026

    Gitea: Denial of Service via Unbounded io.ReadAll in NPM Package Tag Endpoint

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • LowCVE-2026-58445GHSA-pgqf-926r-548m21 Jul 2026

    Gitea: Cross-repository label-ID enumeration oracle via unscoped DeleteIssueLabel API

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58444GHSA-cp3q-vrj2-ghhh21 Jul 2026

    Gitea: Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contents

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • CriticalCVE-2026-58443GHSA-xxjv-752h-3vp221 Jul 2026

    Gitea: Public-only repository tokens can update private PR head branches

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58442GHSA-h2x6-g7q6-344v21 Jul 2026

    Gitea: Repository migration SSRF via multi-answer DNS allow-list bypass

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58441GHSA-xmj7-xj85-hfc321 Jul 2026

    Gitea: SSRF in restore-repo via unsanitized pull_request.yml Head.CloneURL

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • CriticalCVE-2026-58426GHSA-hg5r-vq93-9fv621 Jul 2026

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

    Affected
    >=1.22.0 <1.26.2
    Fixed in
    1.26.2
  • HighCVE-2026-58424GHSA-777r-4v59-648621 Jul 2026

    Gitea: Permanent Fork PR Workflow Approval Gate Bypass

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • HighCVE-2026-58423GHSA-7wvc-rvp7-w99x21 Jul 2026

    Gitea: LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositories

    Affected
    >=1.23.0 <1.26.3
    Fixed in
    1.26.3
  • HighCVE-2026-58421GHSA-v96j-25gv-g2w921 Jul 2026

    Gitea: Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of service

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • MediumCVE-2026-58418GHSA-rqhx-647v-wx3221 Jul 2026

    Gitea: SSRF via HTTP Redirect in Repository Migration

    Affected
    <1.26.4
    Fixed in
    1.26.4
  • MediumCVE-2026-27761GHSA-3pww-vcvm-3gmj21 Jul 2026

    Gitea: API access token scope enforcement bypass on repository RSS/Atom feed endpoints leaks private repository commit data

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • CriticalCVE-2026-20896GHSA-f75j-4cw6-rmx421 Jul 2026

    Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • CriticalCVE-2026-22874GHSA-2r5c-gw76-rh3w21 Jul 2026

    Gitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default Filter

    Affected
    <1.26.3
    Fixed in
    1.26.3
  • MediumGHSA-rjvx-x5h2-6px521 Jul 2026

    Gitea: API Fork Endpoint Authorization Bypass Allows Organization Members to Bypass Repository Creation Restrictions

    Affected
    <1.26.0
    Fixed in
    1.26.0
  • HighCVE-2026-56654GHSA-683j-3ff6-hh2x21 Jul 2026

    Gitea: Privilege Escalation via Access Token Scope Escalation in API

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-56755GHSA-6hm7-3pwj-22rm21 Jul 2026

    Gitea: Denial of Service (CPU & Memory Exhaustion) via O(N^2) String Concatenation in Debian Package Upload

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58507GHSA-p4mj-98mv-xq2621 Jul 2026

    Gitea: Private Repository Existence Disclosure via go-get Meta Endpoint

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-57886GHSA-6c6r-5xr4-cr5m21 Jul 2026

    Gitea: Cross-repository issue/comment attachment re-linking can expose private attachment content

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • LowCVE-2026-23603GHSA-x77v-q46j-393g21 Jul 2026

    Gitea: Blind SSRF in OAuth2 avatar synchronization via unvalidated OIDC picture claim

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58425GHSA-vxv2-8j6r-pcpg21 Jul 2026

    Gitea: OAuth token introspection returns metadata of tokens issued to other clients (RFC 7662 section 4 violation)

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-59763GHSA-9mq6-mqjj-c2c521 Jul 2026

    Gitea: Unbounded Arch package file metadata can cause resource amplification in Gitea package uploads

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • CriticalCVE-2026-56750GHSA-rgv6-xp99-6mgj21 Jul 2026

    Gitea Remember-Me Token Theft Not Invalidating Attacker Session

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58432GHSA-q9pg-jj6x-j9p621 Jul 2026

    Gitea: draft release attachment disclosure via missing web authorization

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-58428GHSA-25gq-j9jx-43pg21 Jul 2026

    Gitea: Release attachment extension allowlist bypass via web release edit form (variant of CVE-2025-68939)

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-56443GHSA-7p4h-3gxq-x3h321 Jul 2026

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

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-58439GHSA-w5pg-649r-p6gg21 Jul 2026

    Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval Flag

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • MediumCVE-2026-59766GHSA-qf2f-qh6p-7v8921 Jul 2026

    Gitea CVE-2026-20800 sibling endpoints not covered: revoked user still reads private repo objects via `/api/v1/user/starred` and private issue titles via `/api/v1/user/times`

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-57894GHSA-82f7-87hm-852x21 Jul 2026

    Gitea: Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration

    Affected
    <1.27.0
    Fixed in
    1.27.0
  • HighCVE-2026-27771GHSA-8qw8-rq86-9pc217 Jul 2026

    Gitea has insufficient permission checks for Composer package source links

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • CriticalCVE-2026-27780GHSA-vhq7-fwwh-7hjf3 Jul 2026

    Gitea pre-receive hook scanner errors allow branch-protection bypass

    Affected
    <1.26.0
    Fixed in
    1.26.0
  • HighCVE-2026-27779GHSA-v8f2-2ghq-9whv3 Jul 2026

    Gitea forwarded-proto validation allows canonical URL spoofing

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • MediumCVE-2026-28705GHSA-7jvx-g65v-r8993 Jul 2026

    Gitea release asset dumps permit path traversal through crafted names

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • CriticalCVE-2026-26232GHSA-5v69-g2m3-3hq33 Jul 2026

    Gitea OAuth2 authorization codes can be reused after expiry

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • CriticalCVE-2026-22547GHSA-922f-hfwp-p56f3 Jul 2026

    Gitea repository creation accepts insufficiently validated fields

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • CriticalCVE-2026-25718GHSA-h697-89cp-24q83 Jul 2026

    Gitea template repository generation follows unsafe filesystem paths

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • CriticalCVE-2026-26247GHSA-m5ch-ppfx-xv3v3 Jul 2026

    Gitea OAuth2 PKCE S256 verifier bypass

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • CriticalCVE-2026-26292GHSA-rc56-rj3f-xggf3 Jul 2026

    Gitea LFS mirror operations bypass migration HTTP transport protections

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • HighCVE-2026-25712GHSA-37w2-86g3-h4qh3 Jul 2026

    Gitea organization permission APIs expose hidden membership and private organization data

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • HighCVE-2026-24690GHSA-47rq-xp99-92mx3 Jul 2026

    Gitea pull request branch permission checks allow unauthorized updates and rebases

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • HighCVE-2026-27657GHSA-4c8f-3m6h-m56r3 Jul 2026

    Gitea primary email ownership bypass allows cross-user email changes

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • HighCVE-2026-26307GHSA-h9c5-x7g8-4q7f3 Jul 2026

    Gitea git grep searches allow server resource exhaustion

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • HighCVE-2026-27660GHSA-x92v-f5gc-r34v3 Jul 2026

    Gitea draft releases and attachments are exposed without write permission

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • MediumCVE-2026-20909GHSA-fhq3-p242-2qpf3 Jul 2026

    Gitea exposes tracked time entries without repository authorization

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • MediumCVE-2026-25782GHSA-qm72-8prh-g92x3 Jul 2026

    Gitea tracked-time deletion is not scoped to the requested issue

    Affected
    <1.25.5
    Fixed in
    1.25.5
  • LowCVE-2026-24791GO-2026-572125 Jun 2026

    Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes in code.gitea.io/gitea

    Affected
    >=1.22.3 <1.26.2
    Fixed in
    1.26.2
  • LowCVE-2026-25779GO-2026-544825 Jun 2026

    Gitea: Open Redirect via redirect_to in code.gitea.io/gitea

    Affected
    <1.26.0
    Fixed in
    1.26.0
  • LowCVE-2026-26231GO-2026-551025 Jun 2026

    Gitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repo in code.gitea.io/gitea

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • LowCVE-2026-28737GO-2026-528625 Jun 2026

    Gitea: Stored XSS via glTF `extensionsRequired` in Gitea 3D File Viewer in code.gitea.io/gitea

    Affected
    >=1.25.0 <1.26.0
    Fixed in
    1.26.0
  • LowCVE-2026-28699GO-2026-529925 Jun 2026

    Gitea: OAuth2 access token scope enforcement bypass via HTTP Basic authentication in code.gitea.io/gitea

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • LowCVE-2026-28744GO-2026-532125 Jun 2026

    Gitea: Git Smart HTTP Skips Repository Token Scopes for Bearer Tokens in code.gitea.io/gitea

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • LowCVE-2026-20706GO-2026-533425 Jun 2026

    Gitea: Token scope bypass on web archive download endpoint in code.gitea.io/gitea

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • LowCVE-2026-22555GO-2026-536525 Jun 2026

    Gitea: API Fork Missing CanCreateOrgRepo Check Allows Org Secret Exfiltration in code.gitea.io/gitea

    Affected
    <1.26.0
    Fixed in
    1.26.0
  • LowCVE-2026-25714GO-2026-524325 Jun 2026

    Gitea: Incomplete CVE-2025-68941 fix: /user/orgs missing checkTokenPublicOnly + switch-case logic flaw in code.gitea.io/gitea

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • LowCVE-2026-27783GO-2026-508125 Jun 2026

    Gitea: Missing repository-unit authorization on issue-template API endpoints in code.gitea.io/gitea

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • LowGO-2026-509125 Jun 2026

    Gitea has insecure default SSH settings in code.gitea.io/gitea

    Affected
    <1.25.0
    Fixed in
    1.25.0
  • HighCVE-2026-28737GHSA-9cpj-qc93-vw8v17 Jun 2026

    Gitea: Stored XSS via glTF `extensionsRequired` in Gitea 3D File Viewer

    Affected
    >=1.25.0 <1.26.0
    Fixed in
    1.26.0
  • HighCVE-2026-24791GHSA-wrr5-99h5-gq5717 Jun 2026

    Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routes

    Affected
    >=1.22.3 <1.26.2
    Fixed in
    1.26.2
  • HighCVE-2026-22555GHSA-fhx7-m96w-mv2917 Jun 2026

    Gitea: API Fork Missing CanCreateOrgRepo Check Allows Org Secret Exfiltration

    Affected
    <1.26.0
    Fixed in
    1.26.0
  • MediumCVE-2026-20706GHSA-cr4g-f395-h25h16 Jun 2026

    Gitea: Token scope bypass on web archive download endpoint

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • MediumCVE-2026-27783GHSA-3fwp-p5rj-2pxf16 Jun 2026

    Gitea: Missing repository-unit authorization on issue-template API endpoints

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • MediumCVE-2026-25714GHSA-8629-vc8r-5p5816 Jun 2026

    Gitea: Incomplete CVE-2025-68941 fix: /user/orgs missing checkTokenPublicOnly + switch-case logic flaw

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • HighCVE-2026-26231GHSA-mm7c-rhg6-qr4r16 Jun 2026

    Gitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repo

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • HighCVE-2026-28699GHSA-9r5x-wg6m-x2rc16 Jun 2026

    Gitea: OAuth2 access token scope enforcement bypass via HTTP Basic authentication

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • HighCVE-2026-28744GHSA-cc8w-r4qh-3v6516 Jun 2026

    Gitea: Git Smart HTTP Skips Repository Token Scopes for Bearer Tokens

    Affected
    <1.26.2
    Fixed in
    1.26.2
  • MediumGHSA-3m6q-h5gj-7mrw22 Apr 2026

    Gitea has insecure default SSH settings

    Affected
    <1.25.0
    Fixed in
    1.25.0
  • LowCVE-2026-20800GO-2026-43622 Feb 2026

    Gitea improperly exposes issue and pull request titles in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20897GO-2026-43632 Feb 2026

    Gitea does not properly validate repository ownership when deleting Git LFS locks in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20912GO-2026-43642 Feb 2026

    Gitea does not properly validate repository ownership when linking attachments to releases in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-0798GO-2026-43652 Feb 2026

    Gitea may send release notification emails for private repositories to users whose access has been revoked in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20888GO-2026-43662 Feb 2026

    Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20736GO-2026-43672 Feb 2026

    Gitea has improper access control for uploaded attachments in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20883GO-2026-43682 Feb 2026

    Gitea improperly exposes issue titles and repository names through previously started stopwatches in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20904GO-2026-43692 Feb 2026

    Gitea does not properly validate ownership when toggling OpenID URI visibility in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20750GO-2026-43702 Feb 2026

    Gitea does not properly validate project ownership in organization project operations in code.gitea.io/gitea

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-0798GHSA-8fwc-qjw5-rvgp23 Jan 2026

    Gitea may send release notification emails for private repositories to users whose access has been revoked

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2026-20736GHSA-hgr3-x44x-33hx23 Jan 2026

    Gitea has improper access control for uploaded attachments

    Affected
    <1.25.4
    Fixed in
    1.25.4
  • LowCVE-2025-69413GO-2026-427412 Jan 2026

    Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username exists in code.gitea.io/gitea

    Affected
    <1.25.2
    Fixed in
    1.25.2
  • MediumCVE-2025-69413GHSA-pc73-rj2c-wvf91 Jan 2026

    Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username exists

    Affected
    <1.25.2
    Fixed in
    1.25.2
  • LowCVE-2025-68938GO-2025-425830 Dec 2025

    Gitea mishandles authorization for deletion of releases in code.gitea.io/gitea

    Affected
    <1.25.2
    Fixed in
    1.25.2
  • LowCVE-2025-68939GO-2025-426130 Dec 2025

    Gitea allows attackers to add attachments with forbidden file extensions in code.gitea.io/gitea

    Affected
    All versions
    Fixed in
    No fix released
  • LowCVE-2025-68945GO-2025-426230 Dec 2025

    Gitea: anonymous user can visit private user's project in code.gitea.io/gitea

    Affected
    <1.21.2
    Fixed in
    1.21.2
  • LowCVE-2025-68942GO-2025-426330 Dec 2025

    Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text in code.gitea.io/gitea

    Affected
    <1.22.2
    Fixed in
    1.22.2
  • LowCVE-2025-68944GO-2025-426430 Dec 2025

    Gitea sometimes mishandles propagation of token scope for access control within one of its own package registries in code.gitea.io/gitea

    Affected
    <1.22.2
    Fixed in
    1.22.2
  • LowCVE-2025-68946GO-2025-426530 Dec 2025

    Gitea vulnerable to Cross-site Scripting in code.gitea.io/gitea

    Affected
    <1.20.1
    Fixed in
    1.20.1
  • LowCVE-2025-68943GO-2025-426630 Dec 2025

    Gitea inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order in code.gitea.io/gitea

    Affected
    <1.21.8
    Fixed in
    1.21.8
  • LowCVE-2025-68940GO-2025-426730 Dec 2025

    Gitea doesn't adequately enforce branch deletion permissions after merging a pull request. in code.gitea.io/gitea

    Affected
    <1.22.5
    Fixed in
    1.22.5
  • LowCVE-2025-68941GO-2025-426830 Dec 2025

    Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources in code.gitea.io/gitea

    Affected
    <1.22.3
    Fixed in
    1.22.3
  • MediumCVE-2025-68945GHSA-7xq4-mwcp-q8fx26 Dec 2025

    Gitea: anonymous user can visit private user's project

    Affected
    <1.21.2
    Fixed in
    1.21.2
  • MediumCVE-2025-68944GHSA-f85h-c7m6-cfpm26 Dec 2025

    Gitea sometimes mishandles propagation of token scope for access control within one of its own package registries

    Affected
    <1.22.2
    Fixed in
    1.22.2
  • MediumCVE-2025-68946GHSA-hq57-c72x-477426 Dec 2025

    Gitea vulnerable to Cross-site Scripting

    Affected
    <1.20.1
    Fixed in
    1.20.1
  • MediumCVE-2025-68943GHSA-jhx5-4vr4-f32726 Dec 2025

    Gitea inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort order

    Affected
    <1.21.8
    Fixed in
    1.21.8
  • MediumCVE-2025-68942GHSA-898p-hh3p-hf9r26 Dec 2025

    Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-text

    Affected
    <1.22.2
    Fixed in
    1.22.2
  • HighCVE-2025-68939GHSA-263q-5cv3-xq9g26 Dec 2025

    Gitea allows attackers to add attachments with forbidden file extensions

    Affected
    <1.23.0-rc0
    Fixed in
    1.23.0-rc0
  • MediumCVE-2025-68938GHSA-cm54-pfmc-xrwx26 Dec 2025

    Gitea mishandles authorization for deletion of releases

    Affected
    <1.25.2
    Fixed in
    1.25.2
  • MediumCVE-2025-68941GHSA-xfq3-qj7j-456526 Dec 2025

    Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources

    Affected
    <1.22.3
    Fixed in
    1.22.3
  • LowCVE-2025-68940GHSA-rrcw-5rjv-vj2626 Dec 2025

    Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.

    Affected
    <1.22.5
    Fixed in
    1.22.5
  • LowCVE-2022-42968GO-2022-106521 Aug 2024

    Gitea vulnerable to Argument Injection in code.gitea.io/gitea

    Affected
    <1.17.3
    Fixed in
    1.17.3
  • LowCVE-2021-45330GO-2022-098221 Aug 2024

    Improper Privilege Management in Gitea in code.gitea.io/gitea

    Affected
    <1.6.0
    Fixed in
    1.6.0
  • LowCVE-2020-13246GO-2022-083021 Aug 2024

    Denial of Service in Gitea in code.gitea.io/gitea

    Affected
    <1.12.0
    Fixed in
    1.12.0
  • LowCVE-2021-28378GO-2022-083221 Aug 2024

    Cross-site Scripting in Gitea in code.gitea.io/gitea

    Affected
    <1.13.4
    Fixed in
    1.13.4
  • LowCVE-2018-18926GO-2022-084421 Aug 2024

    Gitea Remote Code Execution (RCE) in code.gitea.io/gitea

    Affected
    <1.5.2
    Fixed in
    1.5.2
  • LowCVE-2022-0905GO-2022-060921 Aug 2024

    Gitea Missing Authorization vulnerability in code.gitea.io/gitea

    Affected
    <1.16.4
    Fixed in
    1.16.4
  • LowCVE-2022-1928GO-2022-061221 Aug 2024

    Stored Cross-site Scripting in gitea in code.gitea.io/gitea

    Affected
    <1.16.9
    Fixed in
    1.16.9
  • LowCVE-2022-27313GO-2022-044221 Aug 2024

    Arbitrary file deletion in gitea in code.gitea.io/gitea

    Affected
    <1.16.4
    Fixed in
    1.16.4
  • LowCVE-2022-30781GO-2022-045021 Aug 2024

    Shell command injection in gitea in code.gitea.io/gitea

    Affected
    <1.16.7
    Fixed in
    1.16.7
  • LowCVE-2021-45331GO-2022-031521 Aug 2024

    Reuse of one time passwords allowed in Gitea in code.gitea.io/gitea

    Affected
    <1.5.0
    Fixed in
    1.5.0
  • LowCVE-2021-29134GO-2022-035321 Aug 2024

    Path Traversal in Gitea in code.gitea.io/gitea

    Affected
    <1.13.6
    Fixed in
    1.13.6
  • LowCVE-2021-45327GO-2022-031021 Aug 2024

    Capture-replay in Gitea in code.gitea.io/gitea

    Affected
    <1.11.2
    Fixed in
    1.11.2
  • LowCVE-2022-38795GO-2023-199921 Aug 2024

    Gitea erroneous repo clones in code.gitea.io/gitea

    Affected
    <1.17.2
    Fixed in
    1.17.2
  • LowCVE-2018-15192GO-2023-197120 Aug 2024

    Gogs and Gitea SSRF Vulnerability in code.gitea.io/gitea

    Affected
    <1.16.0-rc1
    Fixed in
    1.16.0-rc1
  • LowCVE-2019-1010261GO-2023-192220 Aug 2024

    Gitea XSS Vulnerability in code.gitea.io/gitea

    Affected
    <1.7.1
    Fixed in
    1.7.1
  • LowCVE-2023-3515GO-2023-189420 Aug 2024

    code.gitea.io/gitea Open Redirect vulnerability

    Affected
    <1.19.4
    Fixed in
    1.19.4
  • LowCVE-2024-6886GO-2024-30566 Aug 2024

    Gitea Cross-site Scripting Vulnerability in code.gitea.io/gitea

    Affected
    <1.22.1
    Fixed in
    1.22.1
  • CriticalCVE-2024-6886GHSA-4h4p-553m-46qh6 Aug 2024

    Gitea Cross-site Scripting Vulnerability

    Affected
    <1.22.1
    Fixed in
    1.22.1
  • LowCVE-2022-38183GO-2024-276910 Jun 2024

    Gitea allowed assignment of private issues in code.gitea.io/gitea

    Affected
    <1.16.9
    Fixed in
    1.16.9
  • LowCVE-2022-1058GO-2024-27524 Jun 2024

    Gitea Open Redirect in code.gitea.io/gitea

    Affected
    <1.16.5
    Fixed in
    1.16.5
  • LowCVE-2021-3382GO-2024-27574 Jun 2024

    Buffer Overflow in gitea in code.gitea.io/gitea

    Affected
    >=1.9.0 <1.13.2
    Fixed in
    1.13.2
  • HighCVE-2020-14144GHSA-3h6c-c475-jm7v22 Apr 2024

    Arbitrary Code Execution in Gitea

    Affected
    >=1.1.0 <1.12.6
    Fixed in
    1.12.6
  • MediumCVE-2022-38795GHSA-8j3v-68w3-38487 Aug 2023

    Gitea erroneous repo clones

    Affected
    <1.17.2
    Fixed in
    1.17.2
  • LowCVE-2023-3515GHSA-cf6v-9j57-v6r65 Jul 2023

    code.gitea.io/gitea Open Redirect vulnerability

    Affected
    <1.19.4
    Fixed in
    1.19.4
  • MediumCVE-2022-38183GHSA-fhv8-m4j4-cww213 Aug 2022

    Gitea allowed assignment of private issues

    Affected
    <1.16.9
    Fixed in
    1.16.9
  • MediumCVE-2022-1928GHSA-ph3w-2843-72mx30 May 2022

    Stored Cross-site Scripting in gitea

    Affected
    <1.16.9
    Fixed in
    1.16.9
  • MediumCVE-2019-1010261GHSA-5rh7-6gfj-mc8724 May 2022

    Gitea XSS Vulnerability

    Affected
    <1.7.1
    Fixed in
    1.7.1
  • MediumCVE-2019-1010314GHSA-hqx2-j33x-9fc424 May 2022

    Gitea XSS Vulnerability in Repository Description

    Affected
    >=1.7.2 <1.7.4
    Fixed in
    1.7.4
  • CriticalCVE-2019-11576GHSA-3393-r4p5-vhqh24 May 2022

    Gitea Allows 1FA Even for 2FA-Enrolled Accounts

    Affected
    <1.8.0
    Fixed in
    1.8.0
  • HighCVE-2022-30781GHSA-p5f9-c9j9-g8qx17 May 2022

    Shell command injection in gitea

    Affected
    <1.16.7
    Fixed in
    1.16.7
  • HighCVE-2018-15192GHSA-fg3x-rwq9-74cw14 May 2022

    Gogs and Gitea SSRF Vulnerability

    Affected
    <1.16.0-rc1
    Fixed in
    1.16.0-rc1
  • MediumCVE-2019-1000002GHSA-j99q-rwp6-498g13 May 2022

    Gitea Arbitrary File Delete Vulnerability

    Affected
    <1.6.3
    Fixed in
    1.6.3
  • HighCVE-2022-27313GHSA-g7p7-x6w7-w6qg4 May 2022

    Arbitrary file deletion in gitea

    Affected
    <1.16.4
    Fixed in
    1.16.4
  • MediumCVE-2022-1058GHSA-4rqq-rxvc-v2rc25 Mar 2022

    Gitea Open Redirect

    Affected
    <1.16.5
    Fixed in
    1.16.5
  • MediumCVE-2021-29134GHSA-h3q4-vmw4-cpr516 Mar 2022

    Path Traversal in Gitea

    Affected
    <1.13.6
    Fixed in
    1.13.6
  • HighCVE-2022-0905GHSA-jr9c-h74f-2v2811 Mar 2022

    Gitea Missing Authorization vulnerability

    Affected
    <1.16.4
    Fixed in
    1.16.4
  • CriticalCVE-2018-18926GHSA-hf6f-jq25-8gq915 Feb 2022

    Gitea Remote Code Execution (RCE)

    Affected
    <1.5.2
    Fixed in
    1.5.2
  • CriticalCVE-2021-45331GHSA-hfmf-q69j-6m5p10 Feb 2022

    Reuse of one time passwords allowed in Gitea

    Affected
    <1.5.0
    Fixed in
    1.5.0
  • CriticalCVE-2021-45330GHSA-pg38-r834-g45j10 Feb 2022

    Improper Privilege Management in Gitea

    Affected
    <1.6.0
    Fixed in
    1.6.0
  • MediumCVE-2021-28378GHSA-g95p-88p4-76cm27 Sept 2021

    Cross-site Scripting in Gitea

    Affected
    <1.13.4
    Fixed in
    1.13.4

Is your code.gitea.io/gitea version vulnerable?

Which of your client projects still run an old code.gitea.io/gitea?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.