CVE-2026-78231

Gitea blind SSRF through OpenID assertion verification

Published Oct 14, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
When OpenID sign-in is enabled, Gitea processes unauthenticated assertion parameters and sends an HTTP POST request to the caller-supplied OpenID provider endpoint during verification. An attacker controls the destination and much of the form body, allowing interaction with internal HTTP services reachable from the Gitea server. The response is not returned to the attacker, so the issue is blind SSRF; its impact depends on the services and network addresses the server can reach.

Analysis

AI-generated

Technical impact

Gitea’s OpenID sign‑in flow improperly processes unauthenticated assertion parameters and, during verification, sends an HTTP POST to a caller‑supplied OpenID provider endpoint. An attacker can dictate the destination URL and much of the form body, enabling the server to initiate internal HTTP requests. Because the response is not returned to the attacker, the flaw is a blind SSRF. The impact is limited to the internal services that the Gitea instance can reach, but it can allow sensitive data exposure, lateral movement, or privilege escalation within the local network.

Affected Systems

Any Gitea installation that has OpenID sign‑in enabled is potentially affected. Specific version information is not listed, so all current releases should be inspected for the fix referenced in the advisory.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity for this blind SSRF flaw. The EPSS score of < 1% reflects a very low probability of exploitation, yet the lack of authentication requirements and ability to target any internal resource can still pose a significant risk. The vulnerability is not listed in the CISA KEV catalog, but it remains exploitable by any actor with network access to the Gitea server. An attacker can choose any reachable internal address for the POST request, making the risk dependent on the internal topology. The likely attack vector is a remote attacker who can supply a forged OpenID assertion during the sign‑in process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to a patched release that resolves the OpenID verification flaw; see the GitHub advisory for version details.
  • If an upgrade cannot be performed immediately, disable the OpenID sign‑in feature to eliminate the blind SSRF path.
  • Restrict outbound HTTP traffic from the Gitea server to a whitelist of trusted domains to limit the scope of potential SSRF exploitation.

Generated by OpenCVE AI on October 18, 2026 at 15:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea
Type Values Removed Values Added
Description When OpenID sign-in is enabled, Gitea processes unauthenticated assertion parameters and sends an HTTP POST request to the caller-supplied OpenID provider endpoint during verification. An attacker controls the destination and much of the form body, allowing interaction with internal HTTP services reachable from the Gitea server. The response is not returned to the attacker, so the issue is blind SSRF; its impact depends on the services and network addresses the server can reach.
Title Gitea blind SSRF through OpenID assertion verification
Weaknesses CWE-918
References
Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
Gitea
Published
Updated
Oct 18, 2026, 1:43 PM
Reserved
Aug 24, 2026, 8:45 PM
Status
Deferred
Published
Oct 14, 2026, 3:17 PM
Modified
Oct 18, 2026, 2:16 PM