# CVE-2026-96400: Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2026-10-06T19:25:23.261Z
- Modified: 2026-10-14T11:11:15.033Z
- Also known as: BIT-GITEA-2026-96400, GHSA-54w9-6cc5-9wj9
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 1.27.3
- gitea gitea: before 28.0.0
- gitea (Bitnami): before 28.0.0

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Bitnami Vulnerability Database: rating Medium

## 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

- CVE List: [CVE-2026-96400](https://www.cve.org/CVERecord?id=CVE-2026-96400), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-96400](https://nvd.nist.gov/vuln/detail/CVE-2026-96400), Public domain, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-GITEA-2026-96400](https://osv.dev/vulnerability/BIT-GITEA-2026-96400), Apache-2.0, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-96400 · Whole record: https://cve.day/CVE-2026-96400.json · Rebuilt by cve.day 2026-11-25T22:59:42.565Z
