Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 81%

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

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

Description

Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository Exfiltration

CVSS v3.1

Score 8.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/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:20 UTC

Technical Analysis

Gitea before version 1.27.0 performs URL allow/block validation on repository migration URLs but does not restrict the Git client from following HTTP redirects. An authenticated user with low privileges can submit a public Git URL that redirects to an internal or blocked Git repository, causing the Git client to fetch data from the redirected internal endpoint. This enables exfiltration of internal Git repositories during migration or mirror fetch operations. The vulnerability is tracked as CVE-2026-57894 with a CVSS 3.1 score of 8.5 (high severity). No evidence of unauthenticated exploitation or remote code execution exists. A patch is available to fix this issue.

Potential Impact

This vulnerability allows low-privileged authenticated users to bypass URL allow/block policies and exfiltrate internal Git repository data by exploiting HTTP redirects during repository migration or mirror fetch operations. The impact is high for internet-facing Gitea instances with migration enabled, potentially exposing sensitive internal repositories and secrets. It does not directly enable remote code execution or unauthenticated access but can lead to critical data exposure if sensitive internal data is leaked.

Mitigation Recommendations

A patch is available for Gitea version 1.27.0 and later that addresses this vulnerability. Users should upgrade to version 1.27.0 or newer to remediate this issue. Until patched, restrict repository migration and mirror fetch operations to trusted users and carefully control access to internal Git repositories. Monitor and review migration URLs and redirects to detect potential abuse.

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-82f7-87hm-852x
Osv Schema Version
1.4.0
Aliases
["CVE-2026-57894"]
Ecosystems
["Go"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a600ac79c2644c7f8fe3a9d

Added to database: 07/22/2026, 00:11:51 UTC

Last enriched: 08/14/2026, 12:57:20 UTC

Last updated: 09/04/2026, 22:52:13 UTC

Views: 103

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