CVE-2026-101029
N/A
N/A
Summary
Gitea's repository migration and pull mirror egress checks could be bypassed with a hostname that returns multiple DNS answers, because the address that was validated was not necessarily the address Git later connected to. A low-privileged user who can create migrations or mirrors could direct the server to internal services, reading from and writing to reachable internal Git or HTTP endpoints. Content from internal responses could additionally be disclosed through migration and mirror error messages.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Gitea | Gitea | 0 <= 1.27.3 | affected |
Weaknesses
- CWE-209: CWE-209: Generation of Error Message Containing Sensitive Information
- CWE-367: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
- CWE-918: CWE-918: Server-Side Request Forgery (SSRF)
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-6g2h-xpg3-rm48
- https://github.com/go-gitea/gitea/pull/39010
- https://github.com/go-gitea/gitea/pull/39426
- https://blog.gitea.com/release-of-28.0.0/
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.