CVE-2026-58314: CWE-918 in Gitea Gitea Open Source Git Server
Two SSRF findings in Gitea 1.26.2
AI Analysis
Technical Summary
Two SSRF vulnerabilities exist in Gitea versions prior to 1.27.0. The first involves an IP address classifier that fails to block certain address families such as CGNAT (100.64.0.0/10), allowing authenticated users to create webhooks or perform repository migrations that access internal network resources. The second vulnerability allows unauthenticated attackers to cause server-side HTTP GET requests to arbitrary internal IP addresses via the OpenID sign-in form, which lacks IP filtering or authentication. Both vulnerabilities enable attackers to scan internal networks and retrieve data from internal hosts. These issues were confirmed on Gitea 1.26.2 with default configuration. The vulnerabilities are tracked as CVE-2026-58314 and have a CVSS 3.1 base score of 7.7 (high severity).
Potential Impact
Successful exploitation allows attackers to perform server-side request forgery, enabling internal network scanning and data retrieval from internal hosts. The first vulnerability requires authentication and can be used to bypass IP filtering in webhooks and repository migrations. The second vulnerability can be exploited without authentication via the OpenID sign-in form. This can lead to exposure of sensitive internal network information and potentially facilitate further attacks within the internal network.
Mitigation Recommendations
A patch is available in Gitea version 1.27.0 that addresses these SSRF vulnerabilities. Users should upgrade to version 1.27.0 or later to remediate these issues. No additional mitigation steps are indicated in the provided data.
CVE-2026-58314: CWE-918 in Gitea Gitea Open Source Git Server
Description
Two SSRF findings in Gitea 1.26.2
CVSS v3.1
Score 7.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Two SSRF vulnerabilities exist in Gitea versions prior to 1.27.0. The first involves an IP address classifier that fails to block certain address families such as CGNAT (100.64.0.0/10), allowing authenticated users to create webhooks or perform repository migrations that access internal network resources. The second vulnerability allows unauthenticated attackers to cause server-side HTTP GET requests to arbitrary internal IP addresses via the OpenID sign-in form, which lacks IP filtering or authentication. Both vulnerabilities enable attackers to scan internal networks and retrieve data from internal hosts. These issues were confirmed on Gitea 1.26.2 with default configuration. The vulnerabilities are tracked as CVE-2026-58314 and have a CVSS 3.1 base score of 7.7 (high severity).
Potential Impact
Successful exploitation allows attackers to perform server-side request forgery, enabling internal network scanning and data retrieval from internal hosts. The first vulnerability requires authentication and can be used to bypass IP filtering in webhooks and repository migrations. The second vulnerability can be exploited without authentication via the OpenID sign-in form. This can lead to exposure of sensitive internal network information and potentially facilitate further attacks within the internal network.
Mitigation Recommendations
A patch is available in Gitea version 1.27.0 that addresses these SSRF vulnerabilities. Users should upgrade to version 1.27.0 or later to remediate these issues. No additional mitigation steps are indicated in the provided data.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-2fcr-jfvc-vgg2
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-58314"]
- Ecosystems
- ["Go"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a600ab09c2644c7f8fe1a3b
Added to database: 07/22/2026, 00:11:28 UTC
Last enriched: 08/14/2026, 12:57:34 UTC
Last updated: 09/14/2026, 10:01:32 UTC
Views: 47
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.