Vulnerability · Published Jul 3, 2026 · Assigned by Gitea
CVE-2026-25779Gitea redirect handling permits open redirects through backslash paths
Medium 6.1
In plain English
A medium-severity open redirect in Gitea Open Source Git Server from Gitea. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 76.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | code.gitea.io/gitea | 1.26.0 | GO-2026-5448 |
| Go | github.com/go-gitea/gitea | 1.26.0 | GHSA-j5r2-4c8j-xc3m |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 – through 1.25.4 |
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- GitHub Security Advisory vendor-advisory
- 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