CVE-2026-96400

With `[migrations] ALLOWED_DOMAINS` set to a matching entry such as `*` or a hostname wildcard, Gitea's migration URL validation could permit reserved and link-local addresses, such as `169.254.169.254`, even when `ALLOW_LOCALNETWORKS = false`. The local-network block list did not cover these ranges, and a hostname matching the allow list was accepted regardless of its resolved address. A user who can start migrations on such an instance could reach these addresses from the Gitea server; the default empty `ALLOWED_DOMAINS` configuration is not affected.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

History

13 Oct 2026, 15:36

Type Values Removed Values Added
CPE cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
First Time Gitea gitea
Gitea
References () https://blog.gitea.com/release-of-28.0.0/ - () https://blog.gitea.com/release-of-28.0.0/ - Release Notes
References () https://github.com/go-gitea/gitea/pull/39426 - () https://github.com/go-gitea/gitea/pull/39426 - Patch
References () https://github.com/go-gitea/gitea/releases/tag/v28.0.0 - () https://github.com/go-gitea/gitea/releases/tag/v28.0.0 - Release Notes
References () https://github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9 - () https://github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9 - Mitigation, Vendor Advisory

07 Oct 2026, 12:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.3

06 Oct 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-06 20:17

Updated : 2026-10-13 15:36


NVD link : CVE-2026-96400

Mitre link : CVE-2026-96400

CVE.ORG link : CVE-2026-96400


JSON object : View

Products Affected

gitea

  • gitea
CWE
CWE-918

Server-Side Request Forgery (SSRF)