Read the docs

Forgejo server-side request forgery via OpenID Discovery

Priority HIGH 70CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-918 and the CVSS impact.

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 (CWE-918) in OpenID Discovery. An unauthenticated attacker can POST crafted OpenID identifier URLs to /user/login/openid, which makes the server send blind GET requests to loopback, cloud metadata and internal addresses. The attacker can use these requests for port scanning and probing. The CVSS 4.0 base score is 6.9 (MEDIUM).

Written with Claude Haiku 5.5 from the sources below · 2026-10-30

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00448 39th percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Forgejoforgejoup to 15.0.11; 16.0.0 – 16.0.7; 17.0.0 – 17.0.1—No fix listedCNA
  • forgejo VendorForgejo Affected up to 15.0.11; 16.0.0 – 16.0.7; 17.0.0 – 17.0.1 Fixed in — No fix listed CNA

Remediation

No fixed version is listed for the affected Forgejo releases. Until a fix is available, restrict the Forgejo server's outbound requests to loopback, cloud metadata and internal addresses at the network level, and limit who can reach /user/login/openid.

Written with Claude Haiku 5.5 from the sources below · 2026-10-30

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-30 Threatist record created from CVE-2026-119545
  2. 2026-10-30 Alias added: GHSA-877c-6q9f-v4cw
  3. 2026-10-30 CISA SSVC decision points changed
  4. 2026-10-30 Priority changed: MEDIUM → HIGH
  5. 2026-10-30 Affected versions changed · Red Hat
  6. 2026-10-30 CVSS score added · Red Hat

References

  • TI-2026-83010 Path traversal in Forgejo restore-repo lets attackers read files CVSS 4.0MEDIUM 6.8
  • TI-2026-83011 Forgejo API lets authenticated users read other users' SSH keys CVSS 4.0MEDIUM 5.3
  • TI-2026-60375 Forgejo before 16.0.4 allows remote code execution via a crafted template repository… CVSS 3.1CRITICAL 9.9
  • TI-2026-42282 Forgejo < 15.0.3 - Stored XSS via Actions Run Full Name Rendering CVSS 4.0LOW 2.1
  • TI-2025-42393 Forgejo before 13.0.2 allows attackers to write to unintended files, and possibly obtain… CVSS 4.0CRITICAL 9.5
  • TI-2023-27308 In Forgejo before 1.20.5-1, certain endpoints do not check whether an object belongs to a… CVSS 3.1CRITICAL 9.1
See all 10 →

Sources