Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-gitea/gitea
  4. ›
  5. CVE-2026-25779

CVE-2026-25779: Gitea: Open Redirect via redirect_to

June 17, 2026

  • 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

References

  • github.com/advisories/GHSA-j5r2-4c8j-xc3m
  • github.com/go-gitea/gitea/security/advisories/GHSA-j5r2-4c8j-xc3m
  • nvd.nist.gov/vuln/detail/CVE-2026-25779

Code Behaviors & Features

Detect and mitigate CVE-2026-25779 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.26.0

Fixed versions

  • 1.26.0

Solution

Upgrade to version 1.26.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

go/github.com/go-gitea/gitea/CVE-2026-25779.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:35 +0000.