Gitea redirect handling permits open redirects through backslash paths
Summary
| CVE | CVE-2026-25779 |
|---|---|
| State | PUBLISHED |
| Assigner | Gitea |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-03 21:16:57 UTC |
| Updated | 2026-07-03 21:16:57 UTC |
| Description | Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values. |
Risk And Classification
Problem Types: CWE-601 | CWE-601 CWE-601
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Gitea | Gitea Open Source Git Server | affected 1.25.4 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| blog.gitea.com/release-of-1.25.5 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | blog.gitea.com | |
| github.com/go-gitea/gitea/pull/36660 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | |
| github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3m | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | |
| github.com/go-gitea/gitea/releases/tag/v1.25.5 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | |
| github.com/go-gitea/gitea/pull/36716 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: quirmz (en)
There are currently no legacy QID mappings associated with this CVE.