Description
A vulnerability was found in Forgejo up to 15.0.4. This issue affects the function net.LookupIP of the file services/migrations/allowlist/is_migrate_allowed.go of the component Repository Migration Handler. Performing a manipulation results in server-side request forgery. The attack can be initiated remotely. The exploit has been made public and could be used. The patch is named b313bb83f5ff22bcc0378e0e0ca7bbd58303f168. It is recommended to apply a patch to fix this issue. The project maintainer explains: "I don't intend to backport this to v15 or v16 as it is a breaking change."
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Forgejo | 15.0.0, 15.0.1, 15.0.2, 15.0.3, 15.0.4 | — |
References
- VDB-397072 | Forgejo Repository Migration is_migrate_allowed.go net.LookupIP server-side request forgery vdb-entry technical-description
- VDB-397072 | CTI Indicators (IOB, IOC, IOA) signature permissions-required
- CVE-2026-82556 | CVE Analysis and Report third-party-advisory
- Submit #891889 | Forgejo 15.0.4 SSRF third-party-advisory
- https://codeberg.org/forgejo/forgejo/issues/13433 broken-link exploit issue-tracking
- https://codeberg.org/forgejo/forgejo/pulls/13490 broken-link
- https://codeberg.org/forgejo/forgejo/commit/b313bb83f5ff22bcc0378e0e0ca7bbd58303f168 patch