# CVE-2026-119545: Forgejo server-side request forgery in OpenID discovery

Source: https://junglewise.ai/threats/cve-2026-119545-forgejo-through-15-0-11-16-0-0-through-16-0-7-and-17-0-0-through  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-30. Updated: 2026-10-30  
License: CC BY 4.0 with a link back

CVE-2026-119545 · Severity: medium · CVSS 5.3 · Published 2026-10-30

Forgejo is a self-hosted Git forge platform that allows organizations to manage code repositories. When OpenID sign-in is enabled, unauthenticated attackers can trigger the server to make HTTP requests to arbitrary internal addresses, including loopback interfaces and cloud metadata endpoints. This enables port scanning, network reconnaissance, and potential data disclosure from internal services.

Technologies: [Forgejo](https://junglewise.ai/threats/technologies/forgejo). Vendors: [Forgejo](https://junglewise.ai/threats/vendors/forgejo).

## Quick answers

**Is CVE-2026-119545 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-119545 being exploited in the wild.

**How severe is CVE-2026-119545?** Medium severity, with a CVSS score of 5.3, published 30 October 2026.

**Which products and versions are affected?** Forgejo through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1.

**Is there a fix for CVE-2026-119545?** No fixed version is recorded yet. Disable OpenID sign-in by setting ENABLE_OPENID_SIGNIN = false in the [openid] section of app.ini, or restrict the WHITELISTED_URIS to known safe OpenID providers only.</anigation>
</invoke> If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-119545 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-119545?** Check whether you run Forgejo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix


Disable OpenID sign-in by setting ENABLE_OPENID_SIGNIN = false in the [openid] section of app.ini, or restrict the WHITELISTED_URIS to known safe OpenID providers only.</anigation>
</invoke>

## Technical details

The vulnerability is a server-side request forgery (SSRF) in the OpenID discovery handler at POST /user/login/openid. Unauthenticated attackers submit OpenID identifier URLs that are passed unsanitized to the yohcop openid-go library, which performs Yadis and HTML discovery requests using http.DefaultClient with no IP filtering or host validation. Unlike webhooks and migrations which apply network policies, the OpenID path bypasses these protections, allowing blind SSRF to loopback, RFC1918, and link-local addresses.

## Affected products

- Forgejo Forgejo through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1

## Timeline

- 2026-10-30: disclosed: CVE-2026-119545 published

## References

- [https://abraxaslabs.tech/research/forgejo-openid-discovery-ssrf](https://abraxaslabs.tech/research/forgejo-openid-discovery-ssrf)
- [https://codeberg.org/forgejo/forgejo](https://codeberg.org/forgejo/forgejo)

## Related threats

- [Forgejo GetPublicKey API information disclosure](https://junglewise.ai/threats/cve-2026-119547-forgejo-through-15-0-11-16-0-0-through-16-0-7-and-17-0-0-through)
- [Forgejo path traversal in restore-repo](https://junglewise.ai/threats/cve-2026-119546-forgejo-through-15-0-11-16-0-0-through-16-0-7-and-17-0-0-through)
- [Forgejo ActivityPub identity spoofing via unbound HTTP signature](https://junglewise.ai/threats/cve-2026-90679-forgejo-activitypub-identity-spoofing-via-unbound-http-signature)
- [Forgejo authorization bypass in API pull request editing](https://junglewise.ai/threats/cve-2026-89151-forgejo-authorization-bypass-in-api-pull-request-editing)
- [Forgejo remote code execution in template expansion](https://junglewise.ai/threats/cve-2026-89094-forgejo-remote-code-execution-in-template-expansion)
