CVE-2026-25779Published Jul 3, 2026 · Jul 3Updated Oct 28
Gitea redirect handling permits open redirects through backslash paths
Gitea Open Source Git Server
Medium6.1Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/go-gitea/gitea Go |
|
|
| code.gitea.io/gitea Go |
|
|
Original description
Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.
From the CVE record · Gitea
References
- github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3mExploit
- github.com/go-gitea/gitea/pull/36660Patch
- github.com/go-gitea/gitea/pull/36716Patch
- github.com/go-gitea/gitea/releases/tag/v1.25.5
- blog.gitea.com/release-of-1.25.5
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25779.json
- nvd.nist.gov/vuln/detail/CVE-2026-25779
- github.com/go-gitea/gitea