code.gitea.io/gitea vulnerabilities

123 known advisories · Dependencies not checked · showing first 100

SEVERITYADVISORYPUBLISHED

HighGitea allows attackers to add attachments with forbidden file extensionsGHSA-263q-5cv3-xq9gBIT-gitea-2025-68939CVE-2025-68939GO-2025-4261Affected *Fixed in 1.23.0-rc0OSV source ↗11 months ago
HighGitea: Branch Protection Bypass via PR Retargeting Preserves Stale `official` Approval FlagGHSA-w5pg-649r-p6ggCVE-2026-58439GO-2026-6080Affected *Fixed in 1.27.0OSV source ↗4 months ago
UnknownGitea: Remote Code Execution via diffpatch Git Hook Installation in gitea.devGO-2026-6433BIT-gitea-2026-60004CVE-2026-60004GHSA-rcr6-4jqh-j84mAffected >=1.17.0OSV source ↗2 months ago
CriticalGitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`GHSA-f75j-4cw6-rmx4CVE-2026-20896GO-2026-6051Affected <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
CriticalGitea pre-receive hook scanner errors allow branch-protection bypassGHSA-vhq7-fwwh-7hjfCVE-2026-27780GO-2026-6346Affected <1.26.0Fixed in 1.26.0OSV source ↗4 months ago
CriticalGitea LFS mirror operations bypass migration HTTP transport protectionsGHSA-rc56-rj3f-xggfCVE-2026-26292GO-2026-6344Affected <1.25.5Fixed in 1.25.5OSV source ↗4 months ago
CriticalGitea Cross-site Scripting VulnerabilityGHSA-4h4p-553m-46qhCVE-2024-6886GO-2024-3056Affected <1.22.1Fixed in 1.22.1OSV source ↗2 years ago
CriticalGitea Allows 1FA Even for 2FA-Enrolled AccountsGHSA-3393-r4p5-vhqhCVE-2019-11576Affected <1.8.0Fixed in 1.8.0OSV source ↗4 years ago
CriticalGitea Remote Code Execution (RCE)GHSA-hf6f-jq25-8gq9CVE-2018-18926GO-2022-0844Affected <1.5.2Fixed in 1.5.2OSV source ↗5 years ago
CriticalReuse of one time passwords allowed in GiteaGHSA-hfmf-q69j-6m5pBIT-gitea-2021-45331CVE-2021-45331GO-2022-0315Affected <1.5.0Fixed in 1.5.0OSV source ↗5 years ago
CriticalImproper Privilege Management in GiteaGHSA-pg38-r834-g45jBIT-gitea-2021-45330CVE-2021-45330GO-2022-0982Affected <1.6.0Fixed in 1.6.0OSV source ↗5 years ago
CriticalGitea: Public-only repository tokens can update private PR head branchesGHSA-xxjv-752h-3vp2CVE-2026-58443GO-2026-6086Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
CriticalGitea Actions Artifacts V4 signed URL HMAC ambiguity allows cross-repository artifact read and cross-task upload-state writeGHSA-hg5r-vq93-9fv6CVE-2026-58426GO-2026-6060Affected >=1.22.0 <1.26.2Fixed in 1.26.2OSV source ↗4 months ago
CriticalGitea: Incomplete SSRF Protection in Webhook and Migration Allow-list Default FilterGHSA-2r5c-gw76-rh3wCVE-2026-22874GO-2026-6030Affected <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
CriticalGitea Remember-Me Token Theft Not Invalidating Attacker SessionGHSA-rgv6-xp99-6mgjCVE-2026-56750GO-2026-6072Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
CriticalGitea OAuth2 authorization codes can be reused after expiryGHSA-5v69-g2m3-3hq3CVE-2026-26232GO-2026-6336Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
CriticalGitea repository creation accepts insufficiently validated fieldsGHSA-922f-hfwp-p56fCVE-2026-22547GO-2026-6338Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
CriticalGitea template repository generation follows unsafe filesystem pathsGHSA-h697-89cp-24q8CVE-2026-25718GO-2026-6340Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
CriticalGitea OAuth2 PKCE S256 verifier bypassGHSA-m5ch-ppfx-xv3vCVE-2026-26247GO-2026-6342Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
HighGitea: Permanent Fork PR Workflow Approval Gate BypassGHSA-777r-4v59-6486CVE-2026-58424GO-2026-6044Affected <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
HighGitea: Cached Per-Branch Permission Check in Pre-Receive Hook Allows Full Repository WriteGHSA-649p-mmhf-85c7CVE-2026-27775GO-2026-6043Affected <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
HighGitea: Stored XSS via glTF `extensionsRequired` in Gitea 3D File ViewerGHSA-9cpj-qc93-vw8vCVE-2026-28737GO-2026-5286Affected >=1.25.0 <1.26.0Fixed in 1.26.0OSV source ↗5 months ago
HighGogs and Gitea SSRF VulnerabilityGHSA-fg3x-rwq9-74cwCVE-2018-15192GO-2023-1971Affected <1.16.0-rc1Fixed in 1.16.0-rc1OSV source ↗4 years ago
HighGitea: Authorization Bypass via "Allow edits from maintainers" allows unauthorized commits to any readable repoGHSA-mm7c-rhg6-qr4rCVE-2026-26231GO-2026-5510Affected <1.26.2Fixed in 1.26.2OSV source ↗5 months ago
HighGitea has insufficient permission checks for Composer package source linksGHSA-8qw8-rq86-9pc2CVE-2026-27771GO-2026-6017Affected <1.26.2Fixed in 1.26.2OSV source ↗4 months ago
HighGitea: Public-only tokens bypass private-resource restrictions on `/api/v1/user` self routesGHSA-wrr5-99h5-gq57CVE-2026-24791GO-2026-5721Affected >=1.22.3 <1.26.2Fixed in 1.26.2OSV source ↗5 months ago
HighGitea: API Fork Missing CanCreateOrgRepo Check Allows Org Secret ExfiltrationGHSA-fhx7-m96w-mv29CVE-2026-22555GO-2026-5365Affected <1.26.0Fixed in 1.26.0OSV source ↗5 months ago
HighGitea: OAuth2 access token scope enforcement bypass via HTTP Basic authenticationGHSA-9r5x-wg6m-x2rcCVE-2026-28699GO-2026-5299Affected <1.26.2Fixed in 1.26.2OSV source ↗5 months ago
HighGitea: Git Smart HTTP Skips Repository Token Scopes for Bearer TokensGHSA-cc8w-r4qh-3v65CVE-2026-28744GO-2026-5321Affected <1.26.2Fixed in 1.26.2OSV source ↗5 months ago
HighGitea: Improper authorization on OAuth sign-in callback silently re-enables administrator-disabled accountsGHSA-g9g6-qhrc-p3qcCVE-2026-58422GO-2026-6056Affected <1.26.4Fixed in 1.26.4OSV source ↗4 months ago
HighGitea: ParseAcceptLanguage quadratic-time DoS via Locale middleware on unauthenticated requestsGHSA-fw57-jgch-pgf3CVE-2026-58436GO-2026-6055Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
HighGitea: Privilege Escalation via Access Token Scope Escalation in APIGHSA-683j-3ff6-hh2xCVE-2026-56654GO-2026-6034Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
HighGitea: Denial of Service (CPU & Memory Exhaustion) via O(N^2) String Concatenation in Debian Package UploadGHSA-6hm7-3pwj-22rmCVE-2026-56755GO-2026-6037Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
HighGitea: Two SSRF findingsGHSA-2fcr-jfvc-vgg2CVE-2026-58314GO-2026-6038Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
HighGitea: LFS authentication bypass via malformed SSH sub-verb allows unauthorized read access to private repositoriesGHSA-7wvc-rvp7-w99xCVE-2026-58423GO-2026-6046Affected >=1.23.0 <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
HighGitea organization permission APIs expose hidden membership and private organization dataGHSA-37w2-86g3-h4qhCVE-2026-25712GO-2026-6333Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
HighGitea pull request branch permission checks allow unauthorized updates and rebasesGHSA-47rq-xp99-92mxCVE-2026-24690GO-2026-6334Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
HighGitea primary email ownership bypass allows cross-user email changesGHSA-4c8f-3m6h-m56rCVE-2026-27657GO-2026-6335Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
HighGitea git grep searches allow server resource exhaustionGHSA-h9c5-x7g8-4q7fCVE-2026-26307GO-2026-6341Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
HighGitea: SSRF via Migration Asset Downloads Bypasses hostmatcher — Reads Internal Files and Cloud MetadataGHSA-2wm4-vwp6-v7xcBIT-gitea-2026-34966CVE-2026-34966CVE-2026-59765GO-2026-6039Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
HighGitea: Notification API leaks private issue metadata after access revocationGHSA-44qc-pgvp-wx7vCVE-2026-58419GO-2026-6041Affected <1.26.4Fixed in 1.26.4OSV source ↗4 months ago
HighGitea: Unauthorized Access to Labels of Private OrganizationsGHSA-v73x-hx65-6pf4CVE-2026-25038GO-2026-6076Affected <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
HighGitea: Fork Synchronization Continues After Parent Repository Changes from Public to PrivateGHSA-wrf9-r3h7-7x5vCVE-2026-24451GO-2026-6081Affected <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
HighGitea: Internal API HTTP client hardcodes InsecureSkipVerify:true with no config overrideGHSA-94v3-77j7-vm48CVE-2026-54481GO-2026-6048Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
HighGitea: Unauthenticated ReDoS via CODEOWNERS pattern matching allows denial of serviceGHSA-v96j-25gv-g2w9CVE-2026-58421GO-2026-6077Affected <1.26.4Fixed in 1.26.4OSV source ↗4 months ago
HighGitea forwarded-proto validation allows canonical URL spoofingGHSA-v8f2-2ghq-9whvCVE-2026-27779GO-2026-6345Affected <1.25.5Fixed in 1.25.5OSV source ↗4 months ago
HighGitea draft releases and attachments are exposed without write permissionGHSA-x92v-f5gc-r34vCVE-2026-27660GO-2026-6347Affected <1.25.5Fixed in 1.25.5OSV source ↗4 months ago
HighShell command injection in giteaGHSA-p5f9-c9j9-g8qxBIT-gitea-2022-30781CVE-2022-30781GO-2022-0450Affected <1.16.7Fixed in 1.16.7OSV source ↗4 years ago
HighArbitrary file deletion in giteaGHSA-g7p7-x6w7-w6qgBIT-gitea-2022-27313CVE-2022-27313GO-2022-0442Affected <1.16.4Fixed in 1.16.4OSV source ↗5 years ago
HighArbitrary Code Execution in GiteaGHSA-3h6c-c475-jm7vBIT-gitea-2020-14144CVE-2020-14144Affected >=1.1.0 <1.12.6Fixed in 1.12.6OSV source ↗3 years ago
HighGitea: TOTP TOCTOU race on web 2FA paths + missing replay check on Basic-Auth `X-Gitea-OTP` surfaceGHSA-gx3v-q759-g323CVE-2026-20779GO-2026-6057Affected >=1.5.0 <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
HighGitea: Repository Visibility Manipulation via Git Push OptionsGHSA-8p9h-49rc-qgxjCVE-2026-58437GO-2026-6047Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
HighGitea Missing Authorization vulnerabilityGHSA-jr9c-h74f-2v28BIT-gitea-2022-0905CVE-2022-0905GO-2022-0609Affected <1.16.4Fixed in 1.16.4OSV source ↗5 years ago
MediumGitea: Cross-Repo Information Disclosure via Org-Level Actions Run/Job APIsGHSA-frpw-3h2q-4jj6CVE-2026-57897GO-2026-6054Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: Denial of Service via Unbounded io.ReadAll in NPM Package Tag EndpointGHSA-wwqq-x6w4-frm2CVE-2026-42931GO-2026-6082Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: Repository migration SSRF via multi-answer DNS allow-list bypassGHSA-h2x6-g7q6-344vCVE-2026-58442GO-2026-6058Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: SSRF via HTTP Redirect in Repository MigrationGHSA-rqhx-647v-wx32CVE-2026-58418GO-2026-6075Affected <1.26.4Fixed in 1.26.4OSV source ↗4 months ago
MediumGitea: Release attachment extension allowlist bypass via web release edit form (variant of CVE-2025-68939)GHSA-25gq-j9jx-43pgCVE-2026-58428GO-2026-6028Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea allowed assignment of private issuesGHSA-fhv8-m4j4-cww2BIT-gitea-2022-38183CVE-2022-38183GO-2024-2769Affected <1.16.9Fixed in 1.16.9OSV source ↗2 years ago
MediumGitea erroneous repo clonesGHSA-8j3v-68w3-3848BIT-gitea-2022-38795CVE-2022-38795GO-2023-1999Affected <1.17.2Fixed in 1.17.2OSV source ↗3 years ago
MediumGitea Arbitrary File Delete VulnerabilityGHSA-j99q-rwp6-498gCVE-2019-1000002Affected <1.6.3Fixed in 1.6.3OSV source ↗4 years ago
MediumGitea: SSRF in restore-repo via unsanitized pull_request.yml Head.CloneURLGHSA-xmj7-xj85-hfc3CVE-2026-58441GO-2026-6084Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea SSH Key Parser Denial of ServiceGHSA-4xjf-493q-98p3CVE-2026-56657GO-2026-6042Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea XSS VulnerabilityGHSA-5rh7-6gfj-mc87CVE-2019-1010261GO-2023-1922Affected <1.7.1Fixed in 1.7.1OSV source ↗2 years ago
MediumGitea Open RedirectGHSA-4rqq-rxvc-v2rcBIT-gitea-2022-1058CVE-2022-1058GO-2024-2752Affected <1.16.5Fixed in 1.16.5OSV source ↗2 years ago
MediumGitea XSS Vulnerability in Repository DescriptionGHSA-hqx2-j33x-9fc4CVE-2019-1010314Affected >=1.7.2 <1.7.4Fixed in 1.7.4OSV source ↗4 years ago
MediumGitea: OIDC userinfo Endpoint Returns Identity Claims Without Enforcing API Token ScopesGHSA-mg4f-x9v4-6h2pCVE-2026-55982GO-2026-6065Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: Unbounded Arch package file metadata can cause resource amplification in Gitea package uploadsGHSA-9mq6-mqjj-c2c5CVE-2026-59763GO-2026-6049Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: Token scope bypass on web archive download endpointGHSA-cr4g-f395-h25hCVE-2026-20706GO-2026-5334Affected <1.26.2Fixed in 1.26.2OSV source ↗5 months ago
MediumGitea has insecure default SSH settingsGHSA-3m6q-h5gj-7mrwGO-2026-5091Affected <1.25.0Fixed in 1.25.0OSV source ↗7 months ago
MediumGitea: Cross-repository issue/comment attachment re-linking can expose private attachment contentGHSA-6c6r-5xr4-cr5mCVE-2026-57886GO-2026-6035Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: draft release attachment disclosure via missing web authorizationGHSA-q9pg-jj6x-j9p6CVE-2026-58432GO-2026-6070Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: anonymous user can visit private user's projectGHSA-7xq4-mwcp-q8fxBIT-gitea-2025-68945CVE-2025-68945GO-2025-4262Affected <1.21.2Fixed in 1.21.2OSV source ↗11 months ago
MediumGitea LFS Deploy-Key Privilege EscalationGHSA-rh79-75qm-gwjrCVE-2026-58435GO-2026-6073Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea vulnerable to Cross-site ScriptingGHSA-hq57-c72x-4774BIT-gitea-2025-68946CVE-2025-68946GO-2025-4265Affected <1.20.1Fixed in 1.20.1OSV source ↗11 months ago
MediumGitea allows XSS because the search input box (for creating tags and branches) is v-html instead of v-textGHSA-898p-hh3p-hf9rBIT-gitea-2025-68942CVE-2025-68942GO-2025-4263Affected <1.22.2Fixed in 1.22.2OSV source ↗11 months ago
MediumCross-site Scripting in GiteaGHSA-g95p-88p4-76cmBIT-gitea-2021-28378CVE-2021-28378GO-2022-0832Affected <1.13.4Fixed in 1.13.4OSV source ↗2 years ago
MediumGitea release asset dumps permit path traversal through crafted namesGHSA-7jvx-g65v-r899CVE-2026-28705GO-2026-6337Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
Medium Gitea exposes tracked time entries without repository authorizationGHSA-fhq3-p242-2qpfCVE-2026-20909GO-2026-6339Affected <1.25.5Fixed in 1.25.5OSV source ↗2 months ago
MediumGitea: Private Repository Existence Disclosure via go-get Meta EndpointGHSA-p4mj-98mv-xq26CVE-2026-58507GO-2026-6066Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea tracked-time deletion is not scoped to the requested issueGHSA-qm72-8prh-g92xCVE-2026-25782GO-2026-6343Affected <1.25.5Fixed in 1.25.5OSV source ↗4 months ago
MediumGitea's /api/v1/user endpoint has different responses for failed authentication depending on whether a username existsGHSA-pc73-rj2c-wvf9BIT-gitea-2025-69413CVE-2025-69413GO-2026-4274Affected <1.25.2Fixed in 1.25.2OSV source ↗10 months ago
MediumGitea inadvertently discloses users' login times by allowing (for example) the lastlogintime explore/users sort orderGHSA-jhx5-4vr4-f327BIT-gitea-2025-68943CVE-2025-68943GO-2025-4266Affected <1.21.8Fixed in 1.21.8OSV source ↗11 months ago
MediumPath Traversal in GiteaGHSA-h3q4-vmw4-cpr5BIT-gitea-2021-29134CVE-2021-29134GO-2022-0353Affected <1.13.6Fixed in 1.13.6OSV source ↗5 years ago
MediumGitea sometimes mishandles propagation of token scope for access control within one of its own package registriesGHSA-f85h-c7m6-cfpmBIT-gitea-2025-68944CVE-2025-68944GO-2025-4264Affected <1.22.2Fixed in 1.22.2OSV source ↗11 months ago
MediumGitea: Public-Only Personal access tokens scope bypass in Organization and Permission EndpointsGHSA-fq2p-5p22-8g6jCVE-2026-58429GO-2026-6053Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea mishandles access to a private resource upon receiving an API token with scope limited to public resourcesGHSA-xfq3-qj7j-4565BIT-gitea-2025-68941CVE-2025-68941GO-2025-4268Affected <1.22.3Fixed in 1.22.3OSV source ↗11 months ago
MediumStored Cross-site Scripting in giteaGHSA-ph3w-2843-72mxBIT-gitea-2022-1928CVE-2022-1928GO-2022-0612Affected <1.16.9Fixed in 1.16.9OSV source ↗2 years ago
MediumGitea: RSS/Atom feed handlers bypass API-token scope & public-only confinement (incomplete fix of #37698)GHSA-6cqf-375w-639gCVE-2026-50105GO-2026-6036Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: API access token scope enforcement bypass on repository RSS/Atom feed endpoints leaks private repository commit dataGHSA-3pww-vcvm-3gmjCVE-2026-27761GO-2026-6031Affected <1.26.3Fixed in 1.26.3OSV source ↗4 months ago
MediumGitea: OAuth token introspection returns metadata of tokens issued to other clients (RFC 7662 section 4 violation)GHSA-vxv2-8j6r-pcpgCVE-2026-58425GO-2026-6079Affected <1.27.0Fixed in 1.27.0OSV source ↗4 months ago
MediumGitea: Missing repository-unit authorization on issue-template API endpointsGHSA-3fwp-p5rj-2pxfCVE-2026-27783GO-2026-5081Affected <1.26.2Fixed in 1.26.2OSV source ↗5 months ago
MediumGitea: Incomplete CVE-2025-68941 fix: /user/orgs missing checkTokenPublicOnly + switch-case logic flawGHSA-8629-vc8r-5p58CVE-2026-25714GO-2026-5243Affected <1.26.2Fixed in 1.26.2OSV source ↗5 months ago
  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools