CVE-2026-96400
4.3medium
Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS
- Severity
- 4.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- BIT-GITEA-2026-96400GHSA-54w9-6cc5-9wj9
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | up to 1.27.3 | CVE List |
| gitea gitea | before 28.0.0 | NVD |
| gitea (Bitnami) | before 28.0.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9 | advisory, mitigation, vendor-advisory | |
| https://github.com/go-gitea/gitea/pull/39426 | fix, patch | |
| https://blog.gitea.com/release-of-28.0.0/ | article, release-notes | |
| https://github.com/go-gitea/gitea/releases/tag/v28.0.0 | article, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-96400 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-96400 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-96400 changed 2026-10-13 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2026-96400 changed 2026-10-14 | Apache-2.0 |