LowGO-2022-0846CVE-2019-11229GHSA-hpmr-prr2-cqc4

Gitea Remote Code Execution in github.com/go-gitea/gitea

Published 21 Aug 2024 · Updated 3 Mar 2026

Is your project on an affected github.com/go-gitea/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

Affected package

Affected
<1.7.6
Fixed in
1.7.6
Update to the fixed version for your release line, for example:go get github.com/go-gitea/gitea@v1.7.6

Details

Gitea Remote Code Execution in github.com/go-gitea/gitea

Is GO-2022-0846 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/go-gitea/gitea, and gives you the command that fixes it.

More advisories for github.com/go-gitea/gitea

  • MediumCVE-2026-25779Gitea: Open Redirect via redirect_to · 17 Jun 2026
  • MediumCVE-2026-20912Gitea does not properly validate repository ownership when linking attachments to releases · 23 Jan 2026
  • MediumCVE-2026-20904Gitea does not properly validate ownership when toggling OpenID URI visibility · 23 Jan 2026
  • MediumCVE-2026-20897Gitea does not properly validate repository ownership when deleting Git LFS locks · 23 Jan 2026
  • MediumCVE-2026-20888Gitea does not properly verify authorization when canceling scheduled auto-merges via the web interface · 23 Jan 2026
  • MediumCVE-2026-20750Gitea does not properly validate project ownership in organization project operations · 23 Jan 2026
All 26 advisories for github.com/go-gitea/gitea

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.