CVE-2026-25779 Details
Description
Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.
A redirect bypass vulnerability has been identified in Gitea versions prior to 1.25.5. The issue arises from the improper handling of backslash-encoded paths in the 'redirect_to' parameter, allowing attackers to manipulate redirect destinations. This vulnerability could be exploited to redirect users to malicious sites, potentially leading to phishing attacks or unauthorized access to sensitive information.
Users are advised to upgrade to Gitea version 1.26.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 3, 2026CISA-ADP
Assessed Jul 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3m | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://blog.gitea.com/release-of-1.25.5/ | Gitea Limited | AdvisoryBundleRemedyVendor |
| https://github.com/go-gitea/gitea/pull/36660 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/pull/36716 | Gitea Limited | Issue TrackingVendor |
| https://github.com/go-gitea/gitea/releases/tag/v1.25.5 | Gitea Limited | Release NotesVendor |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3m | Gitea Limited | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | Gitea Limited |
Affected Products
| Product | Versions |
|---|---|
| Gitea | <= 1.25.4 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jul 7, 2026 | CVE Modified | CISA-ADP |
| Jul 3, 2026 | New CVE Received | Gitea Limited |
Volerion