Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2026-27779

CVE-2026-27779: Gitea forwarded-proto validation allows canonical URL spoofing

July 3, 2026 (updated September 1, 2026)

Gitea versions before 1.25.5 accept malformed or injected forwarded-proto values when detecting public URLs, allowing spoofed canonical URL generation.

References

  • blog.gitea.com/release-of-1.25.5
  • github.com/advisories/GHSA-v8f2-2ghq-9whv
  • github.com/go-gitea/gitea/commit/723ce3579f96e75fd12514283023a051a1432b1b
  • github.com/go-gitea/gitea/commit/e2517e0fa93177ef6947245eaeab543c95ef18ff
  • github.com/go-gitea/gitea/pull/36810
  • github.com/go-gitea/gitea/pull/36836
  • github.com/go-gitea/gitea/releases/tag/v1.25.5
  • nvd.nist.gov/vuln/detail/CVE-2026-27779

Code Behaviors & Features

Detect and mitigate CVE-2026-27779 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.25.5

Fixed versions

  • 1.25.5

Solution

Upgrade to version 1.25.5 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

go/code.gitea.io/gitea/CVE-2026-27779.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:20:28 +0000.