CVE-2026-25779 Gitea redirect handling permits open redirects through backslash paths
MediumCVSS 6.1
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.26.0 | 1.26.0 | Fixed |
| Gitea Open Source Git Server | <= 1.25.4 | after 1.25.4 | Fixed |
| go-gitea github.com/go-gitea/gitea(Go) | < 1.26.0; <= 1.25.4 | 1.26.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go-gitea github.com/go-gitea/gitea(Go) | < 1.26.0 | 1.26.0 |
| code.gitea.io/gitea(Go) | < 1.26.0 | 1.26.0 |
| Gitea Open Source Git Server | <= 1.25.4 | No fix listed |
| go-gitea github.com/go-gitea/gitea(Go) | <= 1.25.4 | No fix listed |
References
- GitHub Security Advisory exploit vendor-advisory
- github.com product
- GitHub Pull Request #36660 patch
- GitHub Pull Request #36716 patch
- Gitea v1.25.5 Release release-notes
- Gitea v1.25.5 Release Blog Post release-notes
- github.com