CVE-2026-96400: Gitea - Broken Access Control
- Cve: CVE-2026-96400
- Name: Gitea - Broken Access Control
- 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.
- Impact: Authenticated users can access restricted local network addresses from the Gitea server, potentially exposing internal services.
- Remediation: Update to the latest version where migration URL validation properly restricts local network addresses.
- Vulnerability type: broken_access_control
- Vulnerability impact: broken_access_control, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker must be able to start migrations on the instance
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Epss score: 0.00199
- Epss percentile: 0.09604
- Assignee: 88ee5874-cf24-4952-aea0-31affedb7ff2
- Published at: 2026-10-06T20:17:35Z
- Age in days: 49
- Modified at: 2026-10-13T15:36:19Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-96400
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/go-gitea/gitea/pull/39426 | Patch |
| https://github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9 | Mitigation, Vendor Advisory |
| https://blog.gitea.com/release-of-28.0.0/ | Release Notes |
| https://github.com/go-gitea/gitea/releases/tag/v28.0.0 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitea:gitea | < 28.0.0 | no | nvd | /v1/products/gitea/gitea |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| go-gitea/gitea | fix, pull, releases, security_advisory | yes | /v1/repositories/go-gitea/gitea |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 33493
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports