Skip to main content
EPSS 0.3%top 78%

CVE-2026-58314: CWE-918 in Gitea Gitea Open Source Git Server

0
High
Published: 08/13/2026 (08/13/2026, 16:44:46 UTC)
Source: GCVE Database
Vendor/Project: Gitea
Product: Gitea Open Source Git Server

Description

Two SSRF findings in Gitea 1.26.2

CVSS v3.1

Score 7.7high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected software

Goghsa
code.gitea.io/gitea
Affected versions
<1.27.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/14/2026, 12:57:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses