{"id":"CVE-2026-96400","aliases":["CVE-2026-96400","BIT-GITEA-2026-96400","GHSA-54w9-6cc5-9wj9"],"related":[],"kind":"vulnerability","state":"published","title":"Gitea migration SSRF to reserved addresses through ALLOWED_DOMAINS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-06T19:25:23.261Z","modified":"2026-10-14T11:11:15.033Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.27.3","status":"affected"}],"vendor":"Gitea","product":"Gitea","package":"gitea.dev","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"28.0.0"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"28.0.0"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9","tags":["advisory","mitigation","vendor-advisory"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/39426","tags":["fix","patch"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://blog.gitea.com/release-of-28.0.0/","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v28.0.0","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96400","tags":["web"],"sources":["bitnami"]}],"credits":["https://github.com/ihopenre-eng","https://github.com/TheFox0x7","https://github.com/silverwind","https://github.com/bircni","https://github.com/wxiaoguang"],"assigner":"Gitea","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-10-07T11:35:23.694Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-96400","url":"https://www.cve.org/CVERecord?id=CVE-2026-96400","licence":"CVE Terms of Use","modified":"2026-10-07T11:35:27.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-96400","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-96400","licence":"Public domain","modified":"2026-10-13T15:36:19.913Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2026-96400","url":"https://osv.dev/vulnerability/BIT-GITEA-2026-96400","licence":"Apache-2.0","modified":"2026-10-14T11:11:15.033Z"}],"updatedAt":"2026-11-25T22:59:42.565Z","epss":{"score":0.00199,"percentile":0.10275,"date":"2026-12-01T12:00:22.000Z"}}