CVE-2026-25779
mediumpriority · track · 0EPSS 0.003 · 23 %ileDEEURUUSEPSS · scored 2026-10-27
Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (8)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-0737Gitea: Mehrere SchwachstellenDeutsch2026-03-16csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in Gitea ausnutzen, um Sicherheitsvorkehrungen zu umgehen, Daten zu manipulieren, vertrauliche Informationen offenzulegen, einen Denial-of-Service-Zustand auszulösen oder andere, nicht näher spezifizierte Angriffe durchzuführen.
- GHSA-j5r2-4c8j-xc3mGitea: Open Redirect via redirect_to2026-06-17ghsa · osvUS
### Details Despite the validation within `urlIsRelative` in `modules/httplib/url.go`, an open redirect is still possible due to usage of directory traversal sequences plus a back-slash in the "redirect_to" parameter. ### PoC When a user uses this URL to login: `https://gitea.com/user/login?redirect_to=/a/../\example.com` They would be redirected to `example.com` upon a successful login to their gitea account. ### Impact * Phishing: Attackers can use trusted domain links to redirect victims to credential-harvesting pages * OAuth/SSO Token Theft: In authentication flows, authorization codes or tokens may leak via redirect * Referer Leakage: Sensitive URL parameters may be exposed to attacker domains via the Referer header * Cache Poisoning: In deployments with shared caches, malicious redirects may be cached and served to other users
- GO-2026-5448Gitea: Open Redirect via redirect_to in code.gitea.io/gitea2026-06-25vendor · osvUS
Gitea: Open Redirect via redirect_to in code.gitea.io/gitea
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (16)
External citations — patches, advisories, analysis.
- https://blog.gitea.com/release-of-1.25.5/cnnvd
- https://github.com/go-gitea/gitea/pull/36660cnnvd
- https://github.com/go-gitea/gitea/pull/36716cnnvd
- https://github.com/go-gitea/gitea/releases/Patchcnnvd
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5cnnvd
- https://github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3mcnnvd
- https://blog.gitea.com/release-of-1.25.5/enisa_euvd
- https://github.com/go-gitea/gitea/pull/36660enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan