---
id: CVE-2026-25946
title: >-
  When OpenID sign-in is enabled, Gitea accepts a user-supplied OpenID URL and
  performs discovery requests without validating the destination against
  internal network addresses
summary: >-
  When OpenID sign-in is enabled, Gitea accepts a user-supplied OpenID URL and
  performs discovery requests without validating the destination against
  internal network addresses. An unauthenticated remote attacker can cause the
  server to co…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-918
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:17:45.377'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-25946'
references:
  - url: 'https://github.com/go-gitea/gitea/pull/36729'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-9574-292w-9wmw'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.019Z'
---

## Overview

When OpenID sign-in is enabled, Gitea accepts a user-supplied OpenID URL and performs discovery requests without validating the destination against internal network addresses. An unauthenticated remote attacker can cause the server to contact loopback or private-network HTTP services. This can expose internal service behavior and enable interaction with resources that are not directly reachable by the attacker.

## Remediation

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