CVE 8.7 HIGH

Gogs: Migration Redirect Bypass Leads to Internal Repository Theft_CVE-2026-52805

8.7 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Description

Gogs is an open source self-hosted Git service. Prior to 0.14.3, a Server-Side Request Forgery (SSRF) vulnerability exists in the repository migration functionality. The application validates only the initially submitted URL hostname, but git clone --mirror follows HTTP redirects. An authenticated user can submit a public URL that redirects to a blocked internal endpoint (e.g., 127.0.0.1), importing the internal repository's contents into an attacker-controlled repository. This vulnerability is fixed in 0.14.3.

AI Analysis

Server-Side Request Forgery (SSRF) vulnerability in the repository migration functionality

Basic Information

ID CVE-2026-52805
Source GitHub_M
Published Jun 24, 2026 at 20:22

Affected Product

Vendor gogs
Product gogs
Version < 0.14.3
Affected Versions gogs gogs < 0.14.3

CWE Classification

AI Assessment

AI Score 8.7 / 10
AI Severity High
Vendor Gogs
Product Gogs
Version < 0.14.3

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.