CVE-2026-96400
published medium CVSS 3.1 · 4.3Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 1.27.3 · Other versions: unaffected | Affected | Not stated | Gitea |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.3 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
4- Gitea 28.0.0 release announcement https://blog.gitea.com/release-of-28.0.0/
- Fix: go-gitea/gitea pull request #39426 https://github.com/go-gitea/gitea/pull/39426
- go-gitea/gitea v28.0.0 release https://github.com/go-gitea/gitea/releases/tag/v28.0.0
- GitHub Security Advisory GHSA-54w9-6cc5-9wj9 https://github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9
Provider assertions
2Gitea · cna
Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 68e25f40873e3a118ece665dfe41f96c5bca4e5128ef764b27f429333c4ce217
- Ingested
- 07 Oct 2026, 11:56:50 UTC
- Source record
- Official CVE record