{"id":"CVE-2026-52805","aliases":["GHSA-g2f5-gjr4-qjvm","GO-2026-5387"],"url":"https://o3.security/vulnerability/CVE-2026-52805","summary":"Gogs: Migration Redirect Bypass Leads to Internal Repository Theft","details":"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.","published":"2026-06-24T20:22:15.052Z","modified":"2026-08-12T03:51:25.173748098Z","cvss":{"score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"},"epss":{"score":0.00279,"percentile":0.20199,"asOf":"2026-08-11"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.14.3"}],"fix":{"url":"https://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b","label":"gogs/gogs@b9a0093"},"references":[{"type":"WEB","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52805.json"},{"type":"ADVISORY","url":"https://github.com/gogs/gogs/security/advisories/GHSA-g2f5-gjr4-qjvm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52805"},{"type":"FIX","url":"https://github.com/gogs/gogs/commit/b9a0093e9cd1b2b3c7f42f9feca396dc772c4f1b"},{"type":"FIX","url":"https://github.com/gogs/gogs/pull/8324"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:25.173748098Z"}}