PT-2026-50585 · Gitea+1 · Gitea+1
CVSS v2.0
6.4
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
Gitea (affected versions not specified)
Description
An open redirect exists due to improper validation within the
urlIsRelative() function in modules/httplib/url.go. An attacker can bypass this validation by using directory traversal sequences combined with a back-slash in the redirect to parameter, allowing them to redirect users to an external domain. This can lead to phishing attacks, theft of OAuth or SSO tokens, leakage of sensitive information via the Referer header, and cache poisoning in environments using shared caches.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gitea
Red Os