CVE-2026-96400
Last modified
CVE-2026-96400 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.0.0 |
References
- https://blog.gitea.com/release-of-28.0.0/Release Notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-54w9-6cc5-9wj9Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-96400?
How severe is CVE-2026-96400?
How do I fix CVE-2026-96400?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-96393The Affinity by Canva app before 3.3.1 (October 2026 release…3.6
- CVE-2026-96394The Affinity by Canva application for macOS before 3.3.1 (Oc…2.9
- CVE-2026-96395The Affinity by Canva app for macOS before 3.3.1 (October 20…3.6
- CVE-2026-96396The Affinity by Canva application for macOS before 3.3.1 (Oc…4.9
- CVE-2026-96399A repository's external issue tracker regular expression con…7.5
- CVE-2026-9640A privilege escalation vulnerability exists in LXD from 6.0 …7.2
- CVE-2026-96404When Gitea's web installer is reachable against a database t…8.1
- CVE-2026-96408A code injection vulnerability exists in the upgrade script …9.3
- CVE-2026-9641Crypt::PBKDF2 versions before 0.261630 for Perl have a weak …5.3
- CVE-2026-96415Catapult DCT2000 protocol dissector crash in 4.6.0 to 4.6.8 …5.5
- CVE-2026-96416IEEE 802.11 protocol dissector crash in 4.6.0 to 4.6.8 and 4…5.5
- CVE-2026-96417RF4CE protocol dissector crash in 4.6.0 to 4.6.8 and 4.4.0 t…5.5
Are you affected by CVE-2026-96400?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
