● Go module
code.gitea.io/gitea
Code.gitea.io/gitea has 123 security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest version any of them names as its own fix is 1.27.0, though an advisory still lists that version as affected.
As of , code.gitea.io/gitea has 123 security advisories. One CVE named in them is on CISA's list of exploited vulnerabilities. The newest version any of them names as its own fix is 1.27.0, though an advisory still lists that version as affected.
Your version, and the version to upgrade to
| If you run | Upgrade to | Advisories |
|---|---|---|
| All versions | None in this row; 122 of its 123 advisories name a fixed version | 123 advisoriesOne is on CISA's list |
2 advisories are listed by two databases that disagree: one gives no end to the affected versions and the other names a fix, so the rows follow the one that names a fix. No row names a version to upgrade to, because an advisory lists the newer releases as affected and names no fix for them. 122 of the 123 advisories name a fixed version that this page reads; the list of advisories below gives them.
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-60004GHSA-rcr6-4jqh-j84m, GO-2026-6433On CISA's list: CVE-2026-60004 | Gitea: Remote Code Execution via diffpatch Git Hook InstallationCritical severity | From 1.17.0 (no end named) | No fixed version listed | |
| CVE-2026-20779GHSA-gx3v-q759-g323, GO-2026-6057 | Gitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surfaceHigh severity | From 1.5.0 before 1.26.3 | 1.26.3 | |
| CVE-2026-58429GHSA-fq2p-5p22-8g6j, GO-2026-6053 | Gitea: Public-Only Personal access tokens scope bypass in Organization and Permission EndpointsModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-34966CVE-2026-59765, GHSA-2wm4-vwp6-v7xc, GO-2026-6039 | Gitea: SSRF via Migration Asset Downloads Bypasses hostmatcher, Reads Internal Files and Cloud MetadataModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58511GHSA-3r5c-2xxx-h872, GO-2026-6040 | Gitea: Webhook Authorization Header Returned in Plaintext via APILow severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-57897GHSA-frpw-3h2q-4jj6, GO-2026-6054 | Gitea: Cross-Repo Information Disclosure via Org-Level Actions Run/Job APIsModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58510GHSA-q423-49rw-g9mh, GO-2026-6069 | Gitea: GHSA-8fwc-qjw5-rvgp ClearRepoWatches fix not applied to API EditRepo path, sister code path retains stale watches on public->privateModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58422GHSA-g9g6-qhrc-p3qc, GO-2026-6056 | Gitea: Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accountsHigh severity | Before 1.26.4 | 1.26.4 | |
| CVE-2026-58419GHSA-44qc-pgvp-wx7v, GO-2026-6041 | Gitea: Notification API leaks private issue metadata after access revocationHigh severity | Before 1.26.4 | 1.26.4 | |
| CVE-2026-25038GHSA-v73x-hx65-6pf4, GO-2026-6076 | Gitea: Unauthorized Access to Labels of Private OrganizationsHigh severity | Before 1.26.3 | 1.26.3 | |
| CVE-2026-27775GHSA-649p-mmhf-85c7, GO-2026-6043 | Gitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository WriteHigh severity | Before 1.26.3 | 1.26.3 | |
| CVE-2026-24451GHSA-wrf9-r3h7-7x5v, GO-2026-6081 | Gitea: Fork Synchronization Continues After Parent Repository Changes from Public to PrivateHigh severity | Before 1.26.3 | 1.26.3 | |
| CVE-2026-58314GHSA-2fcr-jfvc-vgg2, GO-2026-6038 | Gitea: Two SSRF findingsHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58436GHSA-fw57-jgch-pgf3, GO-2026-6055 | Gitea: ParseAcceptLanguage quadratic-time DoS via Locale middleware on unauthenticated requestsHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-56657GHSA-4xjf-493q-98p3, GO-2026-6042 | Gitea SSH Key Parser Denial of ServiceModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58437GHSA-8p9h-49rc-qgxj, GO-2026-6047 | Gitea: Repository Visibility Manipulation via Git Push OptionsHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-55987GHSA-vrhc-jjfc-m3m3, GO-2026-6078 | Gitea: OAuth2 sign-in reactivates an administrator-deactivated account on auth sources without refresh tokens (incomplete fix of #38009)High severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58435GHSA-rh79-75qm-gwjr, GO-2026-6073 | Gitea LFS Deploy-Key Privilege EscalationModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-55984GHSA-m932-crvm-gcp5, GO-2026-6064 | Gitea: Null Pointer Dereference in AddTime API Causes Authenticated Denial of ServiceLow severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-55982GHSA-mg4f-x9v4-6h2p, GO-2026-6065 | Gitea: OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token ScopesModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58434GHSA-j2w3-9c3r-g83q, GO-2026-6062 | Gitea: Private Repository Metadata Remains Accessible After Access RevocationLow severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-54481GHSA-94v3-77j7-vm48, GO-2026-6048 | Gitea: Internal API HTTP client hardcodes InsecureSkipVerify:true with no config overrideHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-50105GHSA-6cqf-375w-639g, GO-2026-6036 | Gitea: RSS/Atom feed handlers bypass API-token scope & public-only confinement (incomplete fix of #37698)Moderate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-42931GHSA-wwqq-x6w4-frm2, GO-2026-6082 | Gitea: Denial of Service via Unbounded io.ReadAll in NPM Package Tag EndpointModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58445GHSA-pgqf-926r-548m, GO-2026-6067 | Gitea: Cross-repository label-ID enumeration oracle via unscoped DeleteIssueLabel APILow severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58444GHSA-cp3q-vrj2-ghhh, GO-2026-6050 | Gitea: Personal access token scope enforcement bypass on the repository home page (`GET /{owner}/{repo}`) discloses private repository contentsModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58443GHSA-xxjv-752h-3vp2, GO-2026-6086 | Gitea: Public-only repository tokens can update private PR head branchesCritical severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58442GHSA-h2x6-g7q6-344v, GO-2026-6058 | Gitea: Repository migration SSRF via multi-answer DNS allow-list bypassModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58441GHSA-xmj7-xj85-hfc3, GO-2026-6084 | Gitea: SSRF in restore-repo via unsanitized pull_request.yml Head.CloneURLModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58426GHSA-hg5r-vq93-9fv6, GO-2026-6060 | Gitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state writeCritical severity | From 1.22.0 before 1.26.2 | 1.26.2 | |
| CVE-2026-58424GHSA-777r-4v59-6486, GO-2026-6044 | Gitea: Permanent Fork PR Workflow Approval Gate BypassHigh severity | Before 1.26.3 | 1.26.3 | |
| CVE-2026-58423GHSA-7wvc-rvp7-w99x, GO-2026-6046 | Gitea: LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositoriesHigh severity | From 1.23.0 before 1.26.3 | 1.26.3 | |
| CVE-2026-58421GHSA-v96j-25gv-g2w9, GO-2026-6077 | Gitea: Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of serviceHigh severity | Before 1.26.4 | 1.26.4 | |
| CVE-2026-58418GHSA-rqhx-647v-wx32, GO-2026-6075 | Gitea: SSRF via HTTP Redirect in Repository MigrationModerate severity | Before 1.26.4 | 1.26.4 | |
| CVE-2026-27761GHSA-3pww-vcvm-3gmj, GO-2026-6031 | Gitea: API access token scope enforcement bypass on repository RSS/Atom feed endpoints leaks private repository commit dataModerate severity | Before 1.26.3 | 1.26.3 | |
| CVE-2026-28740GHSA-2m9v-5q2g-58vq, GO-2026-6029 | Gitea: Git LFS object reuse allows non-Code access to authorize private source objectsHigh severity | Before 1.26.3 | 1.26.3 | |
| CVE-2026-20896GHSA-f75j-4cw6-rmx4, GO-2026-6051 | Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`Critical severity | Before 1.26.3 | 1.26.3 | |
| CVE-2026-22874GHSA-2r5c-gw76-rh3w, GO-2026-6030 | Gitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default FilterCritical severity | Before 1.26.3 | 1.26.3 | |
| GHSA-rjvx-x5h2-6px5GO-2026-6074 | Gitea: API Fork Endpoint Authorization Bypass Allows Organization Members to Bypass Repository Creation RestrictionsModerate severity | Before 1.26.0 | 1.26.0 | |
| CVE-2026-56654GHSA-683j-3ff6-hh2x, GO-2026-6034 | Gitea: Privilege Escalation via Access Token Scope Escalation in APIHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-56755GHSA-6hm7-3pwj-22rm, GO-2026-6037 | Gitea: Denial of Service (CPU & Memory Exhaustion) via O(N^2) String Concatenation in Debian Package UploadHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58507GHSA-p4mj-98mv-xq26, GO-2026-6066 | Gitea: Private Repository Existence Disclosure via go-get Meta EndpointModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-57886GHSA-6c6r-5xr4-cr5m, GO-2026-6035 | Gitea: Cross-repository issue/comment attachment re-linking can expose private attachment contentModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-23603GHSA-x77v-q46j-393g, GO-2026-6083 | Gitea: Blind SSRF in OAuth2 avatar synchronization via unvalidated OIDC picture claimLow severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58425GHSA-vxv2-8j6r-pcpg, GO-2026-6079 | Gitea: OAuth token introspection returns metadata of tokens issued to other clients (RFC 7662 section 4 violation)Moderate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-59763GHSA-9mq6-mqjj-c2c5, GO-2026-6049 | Gitea: Unbounded Arch package file metadata can cause resource amplification in Gitea package uploadsModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-56750GHSA-rgv6-xp99-6mgj, GO-2026-6072 | Gitea Remember-Me Token Theft Not Invalidating Attacker SessionCritical severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58432GHSA-q9pg-jj6x-j9p6, GO-2026-6070 | Gitea: draft release attachment disclosure via missing web authorizationModerate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58428GHSA-25gq-j9jx-43pg, GO-2026-6028 | Gitea: Release attachment extension allowlist bypass via web release edit form (variant of CVE-2025-68939)Moderate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-56443GHSA-7p4h-3gxq-x3h3, GO-2026-6045 | Gitea: Token public-only scope bypassed on Limited-visibility owners (Repository + Package categories), residual after CVE-2026-25714 / PR #37118Moderate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-58439GHSA-w5pg-649r-p6gg, GO-2026-6080 | Gitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval FlagHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-59766GHSA-qf2f-qh6p-7v89, GO-2026-6071 | 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`Moderate severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-57894GHSA-82f7-87hm-852x, GO-2026-6027 | Gitea: Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository ExfiltrationHigh severity | Before 1.27.0 | 1.27.0 | |
| CVE-2026-27771GHSA-8qw8-rq86-9pc2, GO-2026-6017 | Gitea has insufficient permission checks for Composer package source linksHigh severity | Before 1.26.2 | 1.26.2 | |
| CVE-2026-28705GHSA-7jvx-g65v-r899, GO-2026-6337 | Gitea release asset dumps permit path traversal through crafted namesModerate severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-27779GHSA-v8f2-2ghq-9whv, GO-2026-6345 | Gitea forwarded-proto validation allows canonical URL spoofingHigh severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-27780GHSA-vhq7-fwwh-7hjf, GO-2026-6346 | Gitea pre-receive hook scanner errors allow branch-protection bypassCritical severity | Before 1.26.0 | 1.26.0 | |
| CVE-2026-25712GHSA-37w2-86g3-h4qh, GO-2026-6333 | Gitea organization permission APIs expose hidden membership and private organization dataHigh severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-24690GHSA-47rq-xp99-92mx, GO-2026-6334 | Gitea pull request branch permission checks allow unauthorized updates and rebasesHigh severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-27657GHSA-4c8f-3m6h-m56r, GO-2026-6335 | Gitea primary email ownership bypass allows cross-user email changesHigh severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-26232GHSA-5v69-g2m3-3hq3, GO-2026-6336 | Gitea OAuth2 authorization codes can be reused after expiryCritical severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-22547GHSA-922f-hfwp-p56f, GO-2026-6338 | Gitea repository creation accepts insufficiently validated fieldsCritical severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-20909GHSA-fhq3-p242-2qpf, GO-2026-6339 | Gitea exposes tracked time entries without repository authorizationModerate severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-25718GHSA-h697-89cp-24q8, GO-2026-6340 | Gitea template repository generation follows unsafe filesystem pathsCritical severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-26307GHSA-h9c5-x7g8-4q7f, GO-2026-6341 | Gitea git grep searches allow server resource exhaustionHigh severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-26247GHSA-m5ch-ppfx-xv3v, GO-2026-6342 | Gitea OAuth2 PKCE S256 verifier bypassCritical severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-25782GHSA-qm72-8prh-g92x, GO-2026-6343 | Gitea tracked-time deletion is not scoped to the requested issueModerate severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-26292GHSA-rc56-rj3f-xggf, GO-2026-6344 | Gitea LFS mirror operations bypass migration HTTP transport protectionsCritical severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-27660GHSA-x92v-f5gc-r34v, GO-2026-6347 | Gitea draft releases and attachments are exposed without write permissionHigh severity | Before 1.25.5 | 1.25.5 | |
| CVE-2026-25779GHSA-j5r2-4c8j-xc3m, GO-2026-5448 | Gitea: Open Redirect via redirect_toModerate severity | Before 1.26.0 | 1.26.0 | |
| CVE-2026-28737GHSA-9cpj-qc93-vw8v, GO-2026-5286 | Gitea: Stored XSS via glTF `extensionsRequired` in Gitea 3D File ViewerHigh severity | From 1.25.0 before 1.26.0 | 1.26.0 | |
| CVE-2026-24791GHSA-wrr5-99h5-gq57, GO-2026-5721 | Gitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routesHigh severity | From 1.22.3 before 1.26.2 | 1.26.2 | |
| CVE-2026-22555GHSA-fhx7-m96w-mv29, GO-2026-5365 | Gitea: API Fork Missing CanCreateOrgRepo Check Allows Org Secret ExfiltrationHigh severity | Before 1.26.0 | 1.26.0 | |
| CVE-2026-20706GHSA-cr4g-f395-h25h, GO-2026-5334 | Gitea: Token scope bypass on web archive download endpointModerate severity | Before 1.26.2 | 1.26.2 | |
| CVE-2026-27783GHSA-3fwp-p5rj-2pxf, GO-2026-5081 | Gitea: Missing repository-unit authorization on issue-template API endpointsModerate severity | Before 1.26.2 | 1.26.2 | |
| CVE-2026-25714GHSA-8629-vc8r-5p58, GO-2026-5243 | Gitea: Incomplete CVE-2025-68941 fix: /user/orgs missing checkTokenPublicOnly + switch-case logic flawModerate severity | Before 1.26.2 | 1.26.2 | |
| CVE-2026-26231GHSA-mm7c-rhg6-qr4r, GO-2026-5510 | Gitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repoHigh severity | Before 1.26.2 | 1.26.2 | |
| CVE-2026-28699GHSA-9r5x-wg6m-x2rc, GO-2026-5299 | Gitea: OAuth2 access token scope enforcement bypass via HTTP Basic authenticationHigh severity | Before 1.26.2 | 1.26.2 | |
| CVE-2026-28744GHSA-cc8w-r4qh-3v65, GO-2026-5321 | Gitea: Git Smart HTTP Skips Repository Token Scopes for Bearer TokensHigh severity | Before 1.26.2 | 1.26.2 | |
| GHSA-3m6q-h5gj-7mrwGO-2026-5091 | Gitea has insecure default SSH settingsModerate severity | Before 1.25.0 | 1.25.0 | |
| CVE-2026-20912GHSA-4xx9-vc8v-87hv, GO-2026-4364 | Gitea does not properly validate repository ownership when linking attachments to releasesModerate severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-20904GHSA-qqgv-v353-cv8p, GO-2026-4369 | Gitea does not properly validate ownership when toggling OpenID URI visibilityModerate severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-20800GHSA-2vgv-hgv4-22mh, GO-2026-4362 | Gitea improperly exposes issue and pull request titlesLow severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-20897GHSA-393c-qgvj-3xph, GO-2026-4363 | Gitea does not properly validate repository ownership when deleting Git LFS locksModerate severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-0798GHSA-8fwc-qjw5-rvgp, GO-2026-4365 | Gitea may send release notification emails for private repositories to users whose access has been revokedLow severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-20888GHSA-9cgq-wp42-4rpq, GO-2026-4366 | Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interfaceModerate severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-20736GHSA-hgr3-x44x-33hx, GO-2026-4367 | Gitea has improper access control for uploaded attachmentsLow severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-20883GHSA-j8xr-c56q-m8jj, GO-2026-4368 | Gitea improperly exposes issue titles and repository names through previously started stopwatchesLow severity | Before 1.25.4 | 1.25.4 | |
| CVE-2026-20750GHSA-rw22-5hhq-pfpf, GO-2026-4370 | Gitea does not properly validate project ownership in organization project operationsModerate severity | Before 1.25.4 | 1.25.4 | |
| CVE-2025-69413GHSA-pc73-rj2c-wvf9, GO-2026-4274 | Gitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username existsModerate severity | Before 1.25.2 | 1.25.2 | |
| CVE-2025-68945GHSA-7xq4-mwcp-q8fx, GO-2025-4262 | Gitea: anonymous user can visit private user's projectModerate severity | Before 1.21.2 | 1.21.2 | |
| CVE-2025-68944GHSA-f85h-c7m6-cfpm, GO-2025-4264 | Gitea sometimes mishandles propagation of token scope for access control within one of its own package registriesModerate severity | Before 1.22.2 | 1.22.2 | |
| CVE-2025-68946GHSA-hq57-c72x-4774, GO-2025-4265 | Gitea vulnerable to Cross-site ScriptingModerate severity | Before 1.20.1 | 1.20.1 | |
| CVE-2025-68943GHSA-jhx5-4vr4-f327, GO-2025-4266 | Gitea inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort orderModerate severity | Before 1.21.8 | 1.21.8 | |
| CVE-2025-68942GHSA-898p-hh3p-hf9r, GO-2025-4263 | Gitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-textModerate severity | Before 1.22.2 | 1.22.2 | |
| CVE-2025-68939GHSA-263q-5cv3-xq9g, GO-2025-4261 | Gitea allows attackers to add attachments with forbidden file extensionsHigh severity | Before 1.23.0-rc0 | 1.23.0-rc0 | |
| CVE-2025-68938GHSA-cm54-pfmc-xrwx, GO-2025-4258 | Gitea mishandles authorization for deletion of releasesModerate severity | Before 1.25.2 | 1.25.2 | |
| CVE-2025-68940GHSA-rrcw-5rjv-vj26, GO-2025-4267 | Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.Low severity | Before 1.22.5 | 1.22.5 | |
| CVE-2025-68941GHSA-xfq3-qj7j-4565, GO-2025-4268 | Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resourcesModerate severity | Before 1.22.3 | 1.22.3 | |
| CVE-2024-6886GHSA-4h4p-553m-46qh, GO-2024-3056 | Gitea Cross-site Scripting VulnerabilityCritical severity | Before 1.22.1 | 1.22.1 |
Other Go modules
- github.com/grafana/grafana67 advisories
- gogs.io/gogs76 advisories
- gitea.dev44 advisories