CVE-2026-52805
Gogs: Migration Redirect Bypass Leads to Internal Repository Theft
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Public exploit
A reference of the record is tagged as an exploit or proof of concept: anyone can try it against an unpatched system.
- https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 16 days later
· 16 days later
Published
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
| NVDNVD · Deferred | 3.1 | High8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 0.38% · top 67% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.7.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogogs.io/gogsGHSA-g2f5-gjr4-qjvm (opens in a new tab)
References (4)
- https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/gogs/gogs/pull/8324 (opens in a new tab)x_refsource_MISC
- https://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b (opens in a new tab)x_refsource_MISC
- https://github.com/gogs/gogs/releases/tag/v0.14.3 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-g2f5-gjr4-qjvm (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-52805)Record last updated .