Bug 2547072 (CVE-2026-96400) - CVE-2026-96400 code.gitea.io/gitea: Gitea: Server-Side Request Forgery via migration URL validation bypass
Summary: CVE-2026-96400 code.gitea.io/gitea: Gitea: Server-Side Request Forgery via mi...
Keywords:
Status: NEW
Alias: CVE-2026-96400
Product: Security Response
Classification: Other
Component: vulnerability-draft
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 19:43 UTC by OSIDB Bzimport
Modified: 2026-11-02 13:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 19:43:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.