CVE-2026-58314
Received Received - Intake

SSRF Vulnerabilities in Gitea 1.26.2

Vulnerability report for CVE-2026-58314, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-13

Last updated on: 2026-08-13

Assigner: Gitea Limited

Description

Two SSRF findings in Gitea 1.26.2

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-13
Last Modified
2026-08-13
Generated
2026-08-13
AI Q&A
2026-08-13
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
go-gitea gitea to 1.26.4 (inc)
go-gitea gitea 1.27.0
go-gitea gitea 1.26.2
go-gitea gitea to 1.26.4|start_including=1.27.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-918 The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2026-58314 involves two Server-Side Request Forgery (SSRF) vulnerabilities in Gitea versions up to 1.26.4. The first is a High severity issue (CVSS 8.6) where an IP classifier fails to block non-routable addresses like CGNAT (100.64.0.0/10), allowing authenticated users to target internal hosts via webhooks or repository migrations. The second is a Medium severity issue (CVSS 5.8) in the OpenID sign-in process, enabling unauthenticated SSRF attacks against internal IPs due to an unfiltered HTTP client.

Detection Guidance

To detect this vulnerability, check if your Gitea instance is running a version prior to 1.27.0. Inspect webhook configurations and repository migration logs for unusual internal IP targets, especially CGNAT ranges like 100.64.0.0/10. Review OpenID sign-in logs for unexpected HTTP requests to internal addresses.

Impact Analysis

The High severity SSRF could expose sensitive HTTP responses (up to 1 MB) in logs or webhook delivery pages if exploited by authenticated users. The Medium severity SSRF allows unauthenticated attackers to access internal systems, potentially leaking internal data or enabling further attacks. Both vulnerabilities can be exploited in default configurations.

Compliance Impact

This vulnerability could lead to unauthorized access to internal systems, potentially exposing sensitive data. This may violate GDPR's data protection requirements or HIPAA's safeguards for protected health information, depending on the data involved. Organizations must address this to maintain compliance.

Mitigation Strategies

Upgrade Gitea to version 1.27.0 or later immediately. Review and restrict webhook configurations to prevent SSRF attacks. Ensure OpenID client configurations filter internal IP requests. Monitor logs for suspicious activity targeting internal networks.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58314. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart