---
id: CVE-2026-27779
title: >-
  Gitea versions before 1.25.5 accept malformed or injected forwarded-proto
  values when detecting public URLs, allowing spoofed canonical URL generation.
summary: >-
  Gitea versions before 1.25.5 accept malformed or injected forwarded-proto
  values when detecting public URLs, allowing spoofed canonical URL generation.
severity: none
cwe:
  - CWE-284
published: '2026-07-03'
updated: '2026-07-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-27779'
references:
  - url: 'https://blog.gitea.com/release-of-1.25.5/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/36810'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/36836'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v1.25.5'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
epss: 0.00582
epssPercentile: 0.46558
ingestedAt: '2026-07-04T15:56:16.698Z'
---

## Overview

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

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
