Gogs: Migration Redirect Bypass Leads to Internal Repository Theft
cve-program · CVE-2026-52805 · Published
No access to your tenant or devices. Every item links to its source. What this means
Historical advisory recorded 3 Nov 2026 23:57:16 UTC. Read the latest advisory.
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.
Read the publisher's advisorySee how the publisher's advisory changed over time. Each link opens the version saved at that time. The publisher's update date can differ from the date shown here.
Each link identifies one complete publisher record. History can include advisories that previously shared an identifier; an identifier removed by a publisher no longer establishes a current relationship. A historical link shows only that record and earlier saved versions. Failed checks and unchanged reads do not create new versions.
cve-program · CVE-2026-52805 · Published
cve-program · CVE-2026-52805 · Published
This historical link shows only this version and versions saved before it. Browse all advisory history.