Vulnerability advisory
CVE-2026-25779
Gitea redirect handling permits open redirects through backslash paths
Also known as GHSA-j5r2-4c8j-xc3mGO-2026-5448
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before f913d90ab664c1deccdfbe8c563abb13e897d62b | f913d90ab664c1deccdfbe8c563abb13e897d62b |
Also listed as affected (44)
| |
Description
Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.
References
- Advisoryblog.gitea.com/release-of-1.25.5/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25779.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.25.5 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3m ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-25779 ↗
- Fixgithub.com/go-gitea/gitea/pull/36660 ↗
- Fixgithub.com/go-gitea/gitea/pull/36716 ↗