---
id: CVE-2026-119545
title: 'Forgejo through 15.0.11, 16.0.7, and 17.0.1 SSRF via OpenID Discovery'
summary: >-
  Forgejo through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1
  contains a server-side request forgery vulnerability that allows
  unauthenticated attackers to make the server issue requests by submitting
  arbitrary OpenID identif…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-918
vendor: forgejo
product: forgejo
affected:
  - forgejo <= 15.0.11
  - forgejo >= 16.0.0 <= 16.0.7
  - forgejo >= 17.0.0 <= 17.0.1
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-30T16:08:38.126087Z'
exploitAvailable: true
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T16:09:53.289Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119545'
references:
  - url: >-
      https://codeberg.org/forgejo/forgejo/src/tag/v17.0.1/modules/auth/openid/openid.go#L35-L36
  - url: 'https://abraxaslabs.tech/research/forgejo-openid-discovery-ssrf'
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-2fcr-jfvc-vgg2'
    label: GitHub Security Advisory (GHSA-2fcr-jfvc-vgg2)
  - url: 'https://codeberg.org/forgejo/forgejo'
  - url: >-
      https://www.vulncheck.com/advisories/forgejo-through-15.0.11-16.0.7-and-17.0.1-ssrf-via-openid-discovery
    label: >-
      VulnCheck Advisory: Forgejo through 15.0.11, 16.0.7, and 17.0.1 SSRF via
      OpenID Discovery
tags:
  - cve.org
  - exploit-available
epss: 0.00448
epssPercentile: 0.39102
ingestedAt: '2026-11-05T16:24:31.063Z'
---

## Overview

Forgejo through 15.0.11, 16.0.0 through 16.0.7, and 17.0.0 through 17.0.1 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server issue requests by submitting arbitrary OpenID identifier URLs. Attackers can POST crafted identifiers to /user/login/openid to trigger blind discovery GET requests to loopback, cloud metadata, and internal addresses for port scanning and probing.

## Affected

- `forgejo <= 15.0.11`
- `forgejo >= 16.0.0 <= 16.0.7`
- `forgejo >= 17.0.0 <= 17.0.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
