# CVE-2026-25779: Gitea redirect handling permits open redirects through backslash paths

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 20% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-17T18:10:46.000Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-j5r2-4c8j-xc3m, GO-2026-5448
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: Gitea

## Description

Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.25.4
- github.com/go-gitea/gitea (Go): before 1.26.0
- code.gitea.io/gitea (Go): before 1.26.0

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3m> (exploit, advisory, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/pull/36660> (patch)
- <https://github.com/go-gitea/gitea/pull/36716> (patch)
- <https://github.com/go-gitea/gitea/releases/tag/v1.25.5> (release-notes)
- <https://blog.gitea.com/release-of-1.25.5/> (release-notes)
- <https://github.com/go-gitea/gitea> (package)

## Sources

- CVE List: [CVE-2026-25779](https://www.cve.org/CVERecord?id=CVE-2026-25779), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-j5r2-4c8j-xc3m](https://github.com/advisories/GHSA-j5r2-4c8j-xc3m), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5448](https://pkg.go.dev/vuln/GO-2026-5448), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-25779](https://nvd.nist.gov/vuln/detail/CVE-2026-25779), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-25779 · Whole record: https://cve.day/CVE-2026-25779.json · Rebuilt by cve.day 2026-11-25T22:59:27.111Z
