CVE-2026-96400
JSON

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 packageVersionsReported by
gitea.devup to 1.27.3CVE List
gitea giteabefore 28.0.0NVD
gitea (Bitnami)before 28.0.0Bitnami Vulnerability Database

All scores

CISA-ADP4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-918

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-96400 changed 2026-10-07CVE Terms of Use
NVDCVE-2026-96400 changed 2026-10-13Public domain
Bitnami Vulnerability DatabaseBIT-GITEA-2026-96400 changed 2026-10-14Apache-2.0